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

Behaviour when unknown xsi:type or subst group member found

From: Pete Cordell <petexmldev@codalogic.com>
Date: Thu, 12 Mar 2009 10:53:03 -0000
Message-ID: <14DAB8B807AC49EBB5DAB96D1B9E5869@Codalogic>
To: <xmlschema-dev@w3.org>
Behaviour when unknown xsi:type or subst group member found
Hi,

Can you remind me what a schema enabled XML processor should do if it 
encounters an unknown xsi:type when parsing an instance?  Should it just 
skip over it, or flag an error etc.

Similarly, what is the desired behaviour when an unknown substitution group 
member is found (or an unknown element is encountered where a substitution 
group member element might be expected [I guess the element could be 
optional]).

Oh, and while I'm here, does the whitespace facet have any affect on 
attribute values, or are attribute values always collapsed?

Many thanks,

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using XML C++
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ for more info
Received on Thursday, 12 March 2009 10:53:48 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.