[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Nasty XPath expressions

libxml xpath
On Thu, Dec 13, 2001 at 02:41:39AM -0800, Kelvin Yeow wrote:
> I wonder what XPath expressions would cause an "XPath processor" to sweat?
> Any "XPath processor" developer out there?

  Of course expressions requiring to browse the full tree are a real
pain from an implementor point of view (or rather an implementor willing to
get decent speed out of the engine).
  But the main problem is IMHO addressing namespaced nodes especially 
when the context don't allow the user to use a QName (like nodes in
the default namespace):

   //*[local-name()="body" and namespace-uri()="http://www.w3.org/1999/xhtml"]

 This is both:
   - horrible to find out and use by users
   - horrible to evaluate at run-time


Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@r...  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.