OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] A proposal for application level XML 'namespaces'

Andrew Welch scripsit:

> If the prefix-as-the-namespace caught on, you could envisage parsers
> falling back to using the prefix as the namespace where there is no
> existing mapping, making the xmlns optional.

TagSoup (which is about HTML parsing, not XML parsing), does something
like this: if it can't find a prefix declaration for "foo:", it
generates a mapping from "foo:' to "urn:x-prefix:foo".

(Currently it always does this, as it ignores namespace declarations.
That'll be changed in the next version.)

Work hard,                                      John Cowan
play hard,                                      cowan@ccil.org
die young,                                      http://www.ccil.org/~cowan
rot quickly.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS