Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xml-dev] Unknown elements in an XML Schema

From: "Michael Kay" <mike@--------.--->
To: "'Shlomo Yona'" <S.Yona@--.--->,<xml-dev@-----.---.--->
Date: 5/31/2007 8:35:00 AM
You can get the answer to such questions by looking at the 
schema for schemas.
 
User-defined content is not allowed as a child of 
xs:schema, but it is allowed as a child of xs:documentation or xs:appinfo within 
an xs:annotation, which is itself allowed as a child of 
xs:schema.
 
Michael Kay
http://www.saxonica.com/


  
  
  From: Shlomo Yona [mailto:S.Yona@F...] 
  
Sent: 31 May 2007 09:24
To: 
  xml-dev@l...
Subject: [xml-dev] Unknown elements in an XML 
  Schema


  
  
  Hello,<o:p></o:p>
  <o:p> </o:p>
  What is expected from an XML 
  Schema processor when an element is encountered in an XML Schema document 
  which is not part of XSDL?<o:p></o:p>
  Does XML Schema allow child 
  elements to xsd:schema that are not defined in the standard? I mean, is a 
  schema processor supposed to ignore such elements or report an error when 
  encountering such elements?<o:p></o:p>
  <o:p> </o:p>
  Thanks.<o:p></o:p>
  <o:p> </o:p>
  Shlomo.<o:p></o:p>


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent