xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wang, XD (Xiao Dong)" <X.D.W...@dl.ac.uk>
Subject XPath problem of XML Prefix
Date Fri, 21 Mar 2003 09:48:06 GMT
Hi there

I have put a xml file in /db/person.

<?xml version="1.0"?>
<ns1:Person xml:ns1="http://namespace.org">
   <PersonDN>DN string</PersonDN>
      <Name>person name</Name>
      <ShortDescription>desc string</ShortDescription>

When I query Xindice with:

xindice xpath -c /db/person -q /ns1:Person

An Exception happens like below,

DEBUG> javax.xml.transform.TransformerException: Extra illegal tokens: ':',

If I remove the prefix ns1:, then it works.

Anyone knows what is going on and how to fix it?



View raw message