Hi,
For the debugging of a couple of complex stylesheets, I make use of
comments that are inserted in the output XML documents. Since my
testbase generates quite a lot of output, it would be nice to query them
using eXist. However, I noticed that full-text searching on comment
nodes doesn't produce any results.
If I have following test document (in, say, '/db/test/test.xml'):
<test>
<!-- first comment -->
<element><subelement>text</subelement></element>
<!-- second comment -->
<element><subelement>text</subelement></element>
</test>
I notice following behaviour:
-doc('/db/test/test.xml')//comment(): returns all comments [OK]
-doc('/db/test/test.xml')//comment()[matches(., '.*')]: returns all
comments [OK]
-doc('/db/test/test.xml')//comment()[matches(., 'first')]: returns
nothing [NOT OK]
Have I missed something, or is this not yet implemented in eXist (tested
in java client of eXist-1.3.0dev, rev. 7579)?
Kind regards,
Ron
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open