OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

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

RE: SAX Filters for Namespace Processing



> ><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