#785 Wrapping .NET DOM with Whitespace nodes

v9.0
closed
Michael Kay
.NET API (34)
5
2012-10-08
2008-03-07
Michael Kay
No

On .NET, the code for wrapping a DOM (System.Xml.XmlDocument) in a Saxon NodeInfo interface wrapper cannot handle nodes of type Whitespace or SignificantWhitespace.

A patch (untested but low-risk) will be placed in Subversion. Affects module net.sf.saxon.dotnet.NodeWrapper

Workaround: copy the contents of the DOM Document to a newly constructed Saxon tree. In some cases this may give better performance anyway.

Discussion

  • Michael Kay
    Michael Kay
    2008-03-17

    Logged In: YES
    user_id=251681
    Originator: YES

    Fixed in 9.0.0.4