#706 Serializer constant OMIT_XML_DECLARATION misspelt

v8.9
closed
Michael Kay
.NET API (34)
5
2012-10-08
2007-07-06
Michael Kay
No

In the .NET API, the constant Serializer.OMIT_XML_DECLARATION has an incorrect value ("omi-xml-declaration" instead of "omit-xml-declaration"). Using it causes a warning message on the console, and the serialization parameter is then ignored.

A patch is being placed in Subversion.

Circumvention: instead of using the defined constant, use the expression

new QName("", "omit-xml-declaration")

Discussion

  • Michael Kay
    Michael Kay
    2007-11-04

    Logged In: YES
    user_id=251681
    Originator: YES

    Fixed in 9.0.0.1