in reply to XML::XPath doesn't validate XML???
If you ask your parser to return the nodeset
and you ask it to look for that nodeset in the string "not xml", it's going to return an empty nodeset. Which is the right answer.//foo/bar[@baz='bof']
But if you ask it to find the nodeset matching
it will give you something in $@, because that's bad XSL.//foo/bar[@baz='bof]'
($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XML::XPath doesn't validate XML???
by former33t (Scribe) on May 21, 2007 at 13:10 UTC |