Wrox Programmer Forums
BOOK: Professional Ajax ISBN: 978-0-471-77778-6
This is the forum to discuss the Wrox book Professional Ajax by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett; ISBN: 9780471777786
Important: For the new 2nd edition of this book, please post here instead: [url="http://p2p.wrox.com/forum.asp?FORUM_ID=307"]http://p2p.wrox.com/forum.asp?FORUM_ID=307[/url]
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Ajax ISBN: 978-0-471-77778-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 7th, 2007, 05:37 PM
Registered User
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default ch5 Fooreader zxmlDom is undefined

howdy ajaxers....

uploaded the code for the fooreader to my server (chapter 5)
when i direct my browser (ie7) to the test page suggested

i get yahoo top stories so it looks like the instal was good.

when i point the browser to the default.htm page i get a javascript error 'zXmlDom' is undefined and the loading never completes. I tried in firefox and it doenst give the js error but the loading just keeps going like ie.

the server is 2003 and is currently running a few asp sites and some php sites as well.

I am a little uncertain about server administration so I assume that there is probably a setting associated with this application that is not right. Does this zxml library need to be "installed" as well or pointed to? I used the code directly downloaded from here so i assume that the files in the reader app are updated and work fine...

i have full access to the server so can mess around directly with it.



Old February 8th, 2007, 04:13 AM
joefawcett's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts

This means the zXml.js file hasn't downloaded properly, could be a number of reasons:
  • you haven't a script tag pointing to the zXml.js file
  • The zXml.js file is not on the server
  • the zXml.js file is in a different place to where your script tag is pointing

To test try copy-and-pasting the code into the HTML rather than including it and see what happens.


Joe (Microsoft MVP - XML)
Old February 8th, 2007, 05:01 AM
Registered User
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


yur absolutely right joe... the version on the server was corrupted in the upload... odd.. but i guess it does happen :)


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch5 Ex5_03 yetri56 BOOK: Ivor Horton's Beginning Visual C++ 2005 1 April 14th, 2008 02:36 AM
Chapter 15 FooReader.Net Question maxint40 BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 5 April 13th, 2007 09:14 AM
CH5 ObjectDataSource nabeelalkaff BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 March 8th, 2007 01:19 PM
having problem with zXmlDom kaos_frack BOOK: Professional Ajax ISBN: 978-0-471-77778-6 10 May 17th, 2006 11:12 PM
CH5 p 184 wadesmart BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 2 November 17th, 2003 04:41 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.