[Home] [By Thread] [By Date] [Recent Entries]
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@c... die young, http://www.ccil.org/~cowan rot quickly.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



