RE: [xml-dev] using more then one schema within one XML

From
Alessandro Triglia <>
To
"[Public XML-DEV]" <>
Date
2004-11-04T21:40:40Z
ID
<006c01c4c2b6$f15e1dd0$6702a8c0@aldebaran>
Thread
RE: [xml-dev] using more then one schema within one XML
> -----Original Message-----
> From: John Cowan [mailto:] 
> Sent: Thursday, November 04, 2004 15:43
> To: Alessandro Triglia
> Cc: 'Chiusano Joseph'; 'pat'; 'XML :: dev'
> Subject: Re: [xml-dev] using more then one schema within one XML
> 
> 
> Alessandro Triglia scripsit:
> 
> > 4 xsi:schemaLocation and xsi:noNamespaceSchemaLocation 
> [attributes] can
> > occur on any element. However, it is an error if such an 
> attribute occurs
> > after the first appearance of an element or attribute 
> information item
> > within an element information item initially .validated. 
> whose [namespace
> > name] it addresses. [...]   
> > ---------------------
> > 
> > In other words, if a parser encounters a 
> xsi:noNamespaceSchemaLocation at
> > some place, then validates an element with no namespace, 
> then encounters
> > another xsi:noNamespaceSchemaLocation further on, it should 
> issue an error.
> 
> No, "it is an error" means that a document that does that is 
> in error.  There
> is no obligation on the part of a parser to notice the error 
> or to behave
> in any particular way.  It can throw an exception, ignore the 
> new declaration,
> accept the new declaration, or make demons fly out of your nose.


I have replied to this email on XMLSCHEMA-DEV.

Alessandro