|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] re: illegal namespace usage
Simon St.Laurent writes:
> I have some questions about the Namespaces Recommendation's
> (non-)treatment of processor behavior. Section 6, Conformance of
> Documents, states what is needed to ensure conformance but doesn't
> specify what a processor should do if it encounters
> non-conformance. Section 5.3, Uniqueness of Attributes, makes it
> illegal to have two attributes for an element that have identical
> qualified names, never mind the prefixes.
>
> How should XML processors handle these errors? Is the uniqueness
> of attributes issue equivalent to the XML 1.0 ban on attributes
> with the same name (section 3.1), or is it totally outside of that
> realm? There isn't any explicit relation expressed between these
> errors and well-formedness or validity constraints, and I'm not
> even sure a processor should flag an error.
For now, it's safest to think of Namespaces as an application layer on
top of XML rather than part of XML itself.
In fact, that distinction probably won't last for long -- the current
public XSL and Infoset working drafts, to give only two of many
possible examples, treat Namespaces as an integral part of XML, and if
there ever is an XML 1.1 or an XML 2.0, I'd be surprised not to see
Namespaces in it (together with Infoset).
All the best,
David
--
David Megginson david@m...
http://www.megginson.com/
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
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








