From: Keith B. <KSB...@lb...> - 2003-10-15 19:03:27
|
Hello, Wonderfull little tool this is, though I've a questions about c14n and xpath. I'm trying to work through the example of exclusinve c14n from the exc-xmlc14n spec and xml doesn't seem to like the xpath expression. Specifically: $ cat doc1.xml <n0:pdu xmlns:n0='http://a.example.com'> <n1:elem1 xmlns:n1='http://b.example'> content </n1:elem1> </n0:pdu> $ xml c14n --without-comments doc1.xml '(//. | //@* | //namespace::*)[ancestor-or-self::n1:elem1]' warning: failed to load external entity "(//.%20%7C%20//@*%20%7C%20//namespace%3A%3A*)%5Bancestor-or-self%3A%3An1%3Aelem1%5D" Error: unable to parse file "(//. | //@* | //namespace::*)[ancestor-or-self::n1:elem1]" Error: unable to evaluate xpath expression Am I doing something wrong here? Thanks, ksb |