[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ANN: SAX Filters for Namespace Processing
- From: "Simon St.Laurent" <simonstl@simonstl.com>
- To: xml-dev <xml-dev@lists.xml.org>
- Date: Tue, 31 Jul 2001 16:43:18 -0400
On 31 Jul 2001 13:06:39 -0700, Ronald Bourret wrote:
> I wouldn't blame the namespaces spec for not handling this. The
> namespaces spec is quite clear about how to get a universal name: get
> the namespace URI from the prefix (or the default) and the local name
> from the local name.
>
> Can you imagine the list of rules to disallow things?
>
> 1) Don't let unqualified child elements inherit their parents'
> namespace, even if that violates our rules about default namespaces.
> 2) Don't use the first x characters of the local name to indicate the
> namespace.
> 3) Don't specify the namespace in an attribute of your own devising.
> 4) Don't choose to interpret prefixes on even-numbered days and not
> interpret them on odd-numbered days.
Of those, only #1 is close to permitted by implementations complying
with the spec.