[xsd-users] Question about a possible bug on
boris at codesynthesis.com
Wed Mar 21 08:59:40 EDT 2007
Paolo Volpi <paolo.volpi at tvblob.com> writes:
> In xsd-2.3.1/libxsd/xsd/cxx/xml/dom/elements.txx line 480 :
> // Disable datatype normalization. The XML 1.0 attribute value
> // normalization always occurs though.
> parser->setFeature (XMLUni::fgDOMDatatypeNormalization, true);
> Is it correct to set that feature to true? Isn't to set to false
> for disabling the normalization as the comment said?
We actually want this feature on, so it is the comment that is
wrong. There is a similar chunk of code around line 354 that
reads like this:
// Enable datatype normalization.
parser->setFeature (XMLUni::fgDOMDatatypeNormalization, true);
I've fixed the comment. Thanks for reporting this!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20070321/e655245b/attachment.pgp
More information about the xsd-users