Forum

XPath bug?


#1

I added a patch to show what I mean.

When I ave a IOBox containing a TAB or NEWLINE character, XPath returns NIL, when I remove the TAB, it returns results again…

I suppose this is a bug?

XPath bug.v4p (5.3 kB)


#2

Xpath does work as expected but vvvv does somehow create non-wellformed XML.

XMLBug.v4p (6.7 kB)


#3

isn’t that what the .dtd is for? if on the xpath node you enable “resolved externals” (which means that it uses the .dtd to check for such special characters), it works for me.

doesn’t the IsWellFormed (XML) node miss such a pin?


#4

joreg, you are right enabling resolve externals solves the “problem”. I tested with an alpha version without properly named dtd therefore it didn´t work.


#5

Thanks for pointing this out…