Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#699 Attributes after children when validating

v8.9
closed
Michael Kay
5
2012-10-08
2007-06-06
Michael Kay
No

The error that should be reported (in both XSLT and XQuery) when the content of an element includes an attribute node that comes after a child node (such as a text node or a child element) is not detected when the content is being validated against a schema. Instead, the offending attribute is simply ignored and discarded.

This has been patched in the Saxon-SA source code and the fix will appear in the next 8.9.0.x maintenance release.

Discussion

  • Michael Kay
    Michael Kay
    2007-06-07

    Logged In: YES
    user_id=251681
    Originator: YES

    In fact the affected module, net.sf.saxon.event.StartTagBuffer, is in the Saxon-B code, so the patch has been committed to Subversion.

     
  • Michael Kay
    Michael Kay
    2007-06-27

    Logged In: YES
    user_id=251681
    Originator: YES

    Fixed in 8.9.0.4