Re: [xslt] document(filename, nodeset) supported?



On Thu, Jun 14, 2001 at 01:52:31AM +0200, Thomas Broyer wrote:
> My view is to catch it in xmlXPathCompLocationPath, changing the test from
> (CUR != 0) to something like ((CUR != 0 ) && (IS_LETTER(CUR) || (CUR ==
> '_') || (CUR == '.') || (CUR == '@') || (CUR == '*')))

  yep seems a better fix than the one I commited, I changed to use yours.

> Also, I don't understand the while (CUR == '/') loop in
> xmlXPathCompLocationPath, since all '/' should be eatten in
> CompRelativeLocationPath. CompLocationPath should just parse absolute
> location paths and/or rely on RelativeLocationPath.

  Right that doesn't seems needed. Well it's redundant but harmless,
so I prefer to keep it in as a safety.

  Thanks for looking at this,

Daniel

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




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