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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] ANN: xpath1() scheme for XPointer

[ Lists Home | Date Index | Thread Index ]

> >> (This is not a theoretical issue. Microsoft, for 
> >> one, has repeatedly used this argument to just IE's non-conformant 
> >> handling of white space only text nodes.) I think some parts of the 
> >> spec do only make sense if you assume the data model/input tree 
> >> actually represents the XML document instead of some modified form of
> >> it, but stating this more clearly would be helpful.
> >It would be wrong.  XPath should not suddenly gain a coupling to the
> >parsing 
> >phase.  They are distinct.  Your fundamentalism exludes XPath from many
> of >the 
> >places where it has been found extremely useful, including invokation
> from >DOM.
> Although a forced coupling seems wrong to me also, are you saying you
> believe there is something wrong with an optional coupling? I think that
> mixing Xpath analysis with the parse phase is essential to some
> applications of XML. Namely when performance is essential.

I meant XPath as a specification itself, not XPath as in the implementation 
considerations of any particular implementation.

So no, there is nothing wrong for an implementation to couple XPath processing 
to parsing.  Many implementations already do.  I also don't mind someone 
introducing a spec which sets up some correspondence between, say SAX and 
XPath processing  analysis.

My aim in this discussion has been to encourage flexibility, not to hinder it.

Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Python&XML column: 2. Introducing PyXML - http://www.xml.com/pub/a/2002/09/25/p
The Past, Present and Future of Web Services 1 - http://www.webservices.org/ind
The Past, Present and Future of Web Services 2 - 'http://www.webservices.org/in
Serenity through markup - http://adtmag.com/article.asp?id=6807
Tip: Using generators for XML processing - http://www-106.ibm.com/developerwork


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS