No error if "ds" namespace is declared in root element, or XPath element. But given files have "ds" in the middle. Given files are parsed normally with another library. So I made a small patch to walk through parent branches (from XPath element) and gather namespace attributes.
This patch is from my company's mercurial repo and is made against 1.7.3 release. Is it useful? Are you interested in it?
> This patch is from my company's mercurial repo and is made against 1.7.3 release. Is it useful? Are you interested in it?
If it impacts code that isn't specific to a Xalan build, I would be unlikely to be able to test it sufficiently to trust it. If it's XPath only, I really don't care, so I'd probably just accept it after an eyeballing. Xalan is all but dead, and won't even build with the version of Xerces that the next release of this library will require.
Secondly, it would have to be filed in Jira with an appropriate license unless you've filled out an Apache contribution agreement.