(Changing the subject line ...) Hiranya Jayathilaka <[email protected]> wrote on 11/19/2010 02:01:00 PM:
... > If the XPath subset has been completely removed from the spec, it > probably makes sense to just use the Psychopath parser in all > scenarios. Otherwise XPath processing becomes a two-step job: > > step 1: Identifying whether the XPath falls in the (now deprecated) subset > step 2: Parsing the tokens > > WDYT? Functionally that's good enough, but the benefit of having the subset processor within Xerces would be improved performance for the common scenarios. Would be really nice if we could avoid building up DOM nodes in the CTA processing for simple XPath expressions which don't need them. I understand you have to build a DOM as input for Psychopath, plus possibly some other overhead we can avoid with our own processor. > Thanks, > Hiranya ... > -- > Hiranya Jayathilaka > Senior Software Engineer; > WSO2 Inc.; http://wso2.org > E-mail: [email protected]; Mobile: +94 77 633 3491 > Blog: http://techfeast-hiranya.blogspot.com Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected]
