Data types (Was: Re: [Xpath-ng] Proposal for definition of values/lists)

David Rosenborg darolst at pantor.com
Tue Dec 17 07:45:30 MST 2002


> > Another way out would be to have a QName include a prefix for the
> > QName. The prefix wouldn't be used when comparing QNames, but it could
> > be used when serialising them as strings.
> 
> I would favor this latter approach.  I think keeping prefixes around can be 
> hazardous, but we would plainly express the reasons and limitations here.

I think passing prefixes around is of little benefit. It'll just complicate things.
I think it's better to provide explicit control over which prefixes are
used at the places they are needed, such as in node construction
and serialization situations.

Cheers,
David







More information about the Xpath-ng mailing list