I am wondering if there is a bug in the XPath parser when a prefix is used for a custom extension function. When I try the following in my code it throws an exception (below).
XPath xpath = new DOMXPath("cite:validate-gml(/xs:schema)"); org.jaxen.XPathSyntaxException: Unexpected '(' at org.jaxen.BaseXPath.<init>(BaseXPath.java:136) at org.jaxen.BaseXPath.<init>(BaseXPath.java:157) at org.jaxen.dom.DOMXPath.<init>(DOMXPath.java:101) >From the stack trace it looks as if it is treating the function name cite:validate-gml as a step in an expression. Any insights into how to get functions to work with prefixes or a fix if this is a bug would be greatly appreciated. Regards, Paul
BEGIN:VCARD VERSION:2.1 N:Austin;Paul;David;Mr. FN:Paul David Austin ORG:Galdos Systems Inc. TEL;WORK;VOICE:+1 (604) 484-2761 TEL;WORK;VOICE:+1 (604) 484-2750 TEL;WORK;FAX:+1 (604) 484-2755 ADR;WORK:;;#200 - 1155 West Pender Street;Vancouver;BC;V6G 3J3;Canada LABEL;WORK;ENCODING=QUOTED-PRINTABLE:#200 - 1155 West Pender Street=0D=0AVancouver, BC V6G 3J3=0D=0ACanada EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20021025T200827Z END:VCARD