Tagsoup with namespace prefix

30 views
Skip to first unread message

Kalpa 1977

unread,
Apr 28, 2016, 3:45:35 PM4/28/16
to tagsoup-friends
hi all,
       The html contains namespace with prefix, when I enable in the parser,
   parser.setFeature(Parser.namespacesFeature, false);
   parser.setFeature(Parser.namespacePrefixesFeature, false);
the xpath expression finding work using evaluate method.
However, if I enable,
   parser.setFeature(Parser.namespacesFeature, true);
   parser.setFeature(Parser.namespacePrefixesFeature, true);
It parses, but, the xpath expression does not work.

The html contains <form:error, anybody faced this issue.

thanks,
Kalpa
Reply all
Reply to author
Forward
0 new messages