#533 NPE when copying attribute node

v8.7.1
closed
5
2012-10-08
2006-06-06
Michael Kay
No

A NullPointerException may occur when copying an
attribute node using xsl:copy-of. The problem occurs if
(a) the copying is done in a template whose result is
type-checked, and (b) no schema validation is being done.

Source fix: in net.sf.saxon.instruct.CopyOf, line 216,
change

int annotation = -1;

to

int annotation = StandardNames.XDT_UNTYPED_ATOMIC;

Discussion

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

Sign up for the SourceForge newsletter:





No, thanks