[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] A proposal for application level XML 'namespaces'
- From: John Cowan <cowan@mercury.ccil.org>
- To: Andrew Welch <andrew.j.welch@gmail.com>
- Date: Fri, 30 Sep 2011 11:11:48 -0400
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]