[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

locating the invalid element in a large xml document

From: <jneff@tethyshealth.com>
Date: Mon, 16 Jan 2006 12:26:44 -0500
To: xmlschema-dev@w3.org
Message-Id: <S1031119AbWAPR0p/20060116172645Z+28437@ams019.ftl.affinity.com>
xml invalid element name

Greetings, 

I have a fairly large schema (around 10K lines long) that will be
validating even larger XML documents. 

If the schema validator finds an element which is not valid, it returns
the element name and the error. 

There may be many elements that have the same name who are siblings. 

How can I find out which element in the input data document is the
invalid one? 

Is there a way to include positional information in this error from the
schema validator?  Or maybe generate a unique id for each element in the
input data document and include that id as part of the error. 

Thanks in advance, 

--  

James Neff
Technology Specialist 

Tethys Health Ventures
4 North Park Drive, Suite 203
Hunt Valley, MD  21030 

office:  410.771.0692 x103
cell:    443.865.7874 
Received on Monday, 16 January 2006 19:30:58 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.