Hi, The existing XPath class in Xerces was developed to support the subset of XPath required for XML Schema identity constraints [1]. This is what it's used for within Xerces. It was never intended to implement all of XPath.
Thanks. [1] http://www.w3.org/TR/xmlschema-1/#coss-identity-constraint Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] xunlong gui <[email protected]> wrote on 03/15/2010 11:35:38 PM: > hi guys, > > Xerces's XPath class seems nearly useless, it can only work with > simple xpath like "first/second" or ".//first/secnod", if i use it > to parse complex xpath such as "first/seco...@third='fourth']", it > will throw exception. So, i want to check if it is unfinished?If i > want to use Xerces to parse my XPath expression, should I implement > XPath class by myself? Thank you
