#471 Crash when validating QName-valued elements

v8.6.1
closed
5
2012-10-08
2006-02-14
Michael Kay
No

If validation is applied directly to a QName-valued
element, for example

validate strict { <abc xmlns:pre="uri">pre:local</abc> }

where element abc is defined in the schema as being of
type xs:QName, then Saxon fails with the error

java.lang.UnsupportedOperationException: Cannot
validate a QName without a namespace resolver

Source code fixed (in ValidationStack.java on line 105
and similarly in other branches, add

initial.setNamespaceResolver(namespaceResolver);

)

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks