[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thoughts, questions, and issues.



Aaron Swartz writes:
> And while I know it's not the right thing to do, if necessary, you
> can hard-code the [prefixes] for the namespace URIs allowing you to
> get a lot of the same functionality out of a parser that isn't
> namespace-aware.

Many XML Namespace processing tools discard the prefix, because the
Namespace URI is really the only significant part of the namespace.
If someone hardcodes prefixes, they're gonna get burnt.  Most good XML
Namespace tools make it easy to use (URI, LocalName) pairs so that
even they don't have to worry about prefixes.  The namespace prefixes
in the RSS 1.0 and Modules docs should be taken as examples only.

  -- Ken