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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to