Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > BOOK: Professional ASP.NET 2.0 XML
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET 2.0 XML
This is the forum to discuss the Wrox book Professional ASP.NET 2.0 XML by Thiru Thangarathinam; ISBN: 9780764596773
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 2.0 XML section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 30th, 2006, 07:16 PM
Registered User
 
Join Date: Mar 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Listing 5-3 not work with invalid authors.xml

Listing 5-3 works fine with the provided authors.xml. I changed the authors.xml a little to make it invalid. The code doesn't work right any more. The ValidationEventHandler doesn't fire, instead an exception event fired.

Reply With Quote
  #2 (permalink)  
Old April 3rd, 2006, 09:06 PM
Registered User
 
Join Date: Feb 2006
Location: Arlington, MA, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's working fine for me. When I change au_lname to au_name, I get the following response:

Validation failed.
Validation error: The element 'author' has invalid child element 'au_name'. List of possible elements expected: 'au_lname'.


If you post your code, I may be able to spot the issue in your syntax.

------------------------
Dan Solovay
Arlington, MA

dsolovay AT gmail.com
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Listing 8-10 and Listing 8-16. Asp.Net BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 1 February 6th, 2008 12:11 PM
System.ArgumentException: Invalid Xml salloo XSLT 2 July 25th, 2007 04:43 AM
xml invalid top level from ASP write XML(solution) g000we XML 0 August 9th, 2006 03:56 AM
To the authors jkleinhans BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 January 16th, 2006 10:48 AM
Hello from the Authors Teresa BOOK: Access 2003 VBA Programmer's Reference 0 May 21st, 2004 02:15 PM



All times are GMT -4. The time now is 11:19 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.