[
Lists Home |
Date Index |
Thread Index
]
- To: "[Public XML-DEV]" <xml-dev@lists.xml.org>
- Subject: RE: [xml-dev] using more then one schema within one XML
- From: "Alessandro Triglia" <sandro@mclink.it>
- Date: Thu, 4 Nov 2004 16:40:40 -0500
- Importance: Normal
- In-reply-to: <20041104204305.GA16460@skunk.reutershealth.com>
> -----Original Message-----
> From: John Cowan [mailto:jcowan@reutershealth.com]
> 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
|