You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2006/02/18 16:54:25 UTC

[jira] Resolved: (XERCESC-1547) DOMAttr::setNodeValue does not treat carriage return and tab characters properly

     [ http://issues.apache.org/jira/browse/XERCESC-1547?page=all ]
     
Alberto Massari resolved XERCESC-1547:
--------------------------------------

    Resolution: Fixed

A fix is in SVN; please verify.

> DOMAttr::setNodeValue does not treat carriage return and tab characters properly
> --------------------------------------------------------------------------------
>
>          Key: XERCESC-1547
>          URL: http://issues.apache.org/jira/browse/XERCESC-1547
>      Project: Xerces-C++
>         Type: Bug
>   Components: DOM
>  Environment: Windows
>     Reporter: Steve Benz
>     Priority: Minor

>
> If you do something like this:
> DOMAttr *attr = ...createAttribute(...);
> attr->setValue( L"this\tand\r\nthat" );
> Then save and load back that XML file, what you'll get back from attr->getValue() will be "this<spaces>and<space>\nthat".
> As far as I know, there's no way to work around this aside from not storing as an attribute.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org