Entities are expanded by the XML parser before Xalan ever sees them. If
you're using Xalan's XPath by passing strings into the XPath API, then that
certainly won't work, since there will be no parser involved. I'm also
don't understand what expression you're trying to evaluate. Why are you
using two sets of quotes?
title[text()='Gone Fishing']
or:
title[text()="Gone Fishing"]
makes sense, but this:
title[text()=""Gone Fishing""]
does not.
Dave
Tom Bradford
<bradford@dbxml To: [EMAIL PROTECTED]
group.com> cc: (bcc: David N Bertoni/CAM/Lotus)
Sent by: Subject: Xalan-J 2 not respecting
" and ' in Strings
[EMAIL PROTECTED]
05/26/2001
05:31 PM
Please respond
to xalan-dev
It looks like Xalan's XPath implementation isn't respecting " and
' in quoted strings for comparisons. One of our users noted that
even though queries like title[text()=""Gone Fishing""] are
resolved properly by our indexing system, when they reach Xalan for the
final processing pass, the expression returns no nodes.
Any ideas?
--
Tom Bradford --- The dbXML Project --- http://www.dbxml.org/
We store your XML data a hell of a lot better than /dev/null
- Xalan-J 2 not respecting " and ' in Str... Tom Bradford
- Re: Xalan-J 2 not respecting " and &apo... David_N_Bertoni
- Re: Xalan-J 2 not respecting " and &... Tom Bradford
- Re: Xalan-J 2 not respecting " and &apo... Scott_Boag
- Re: Xalan-J 2 not respecting " and &apo... David_N_Bertoni
- Re: Xalan-J 2 not respecting " and &apo... Joseph_Kesselman
