|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: using more then one schema within one XML
> -----Original Message----- > From: John Cowan [mailto:jcowan@r...] > Sent: Thursday, November 04, 2004 15:43 > To: Alessandro Triglia > Cc: 'Chiusano Joseph'; 'pat'; 'XML :: dev' > Subject: Re: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








