[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: SAX Filters for Namespace Processing
- From: "David E. Cleary" <davec@progress.com>
- To: xml-dev@lists.xml.org
- Date: Fri, 03 Aug 2001 10:21:17 -0400
> ><p:person xmlns:p="http://simonstl.com/person">
> > <givenName>Chip</givenName>
> > <familyName>Skillet</familyName>
> > <address>
> > <city>Ithaca</city>
> > </address>
> ></p:person>
> >
> >Assuming you have encountered the above example, what was it that you
> >couldn't do because of the unqualified nature?
>
> 1. I couldn't write a simple filter that went and picked out
> the "city" tags from Simon's "person" namespace without
> keeping track of the stack.
> 2. I can't drop this fragment into the middle of other XML
> without being potentially raped by their default namespace.
But should XML Schema have been used as a hammer to subset well formed XML
into what certain people feel is correct usage? You allowed this in
Namespaces, and Schema had to model it.
Dave