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 "Lumir Vanek (JIRA)" <xe...@xml.apache.org> on 2006/02/05 10:15:04 UTC
[jira] Created: (XERCESC-1561) fgDOMWRTFormatPrettyPrint causes
double 0A in output
fgDOMWRTFormatPrettyPrint causes double 0A in output
----------------------------------------------------
Key: XERCESC-1561
URL: http://issues.apache.org/jira/browse/XERCESC-1561
Project: Xerces-C++
Type: Wish
Components: Miscellaneous
Versions: 2.7.0
Environment: Linux
Reporter: Lumir Vanek
When DOMWriter::setFeature( XMLUni::fgDOMWRTFormatPrettyPrint, true ); is used
after each element, there is 0A 0A (2 x line feed), instead of 0A what I
expect.
I created patch to get rid of this unwanted behavior.
Lumir Vanek
--
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
[jira] Updated: (XERCESC-1561) fgDOMWRTFormatPrettyPrint causes
double 0A in output
Posted by "Lumir Vanek (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESC-1561?page=all ]
Lumir Vanek updated XERCESC-1561:
---------------------------------
Attachment: DOMWriterImpl.diff
I removed redundand ocurrences of printNewLine() from source.
> fgDOMWRTFormatPrettyPrint causes double 0A in output
> ----------------------------------------------------
>
> Key: XERCESC-1561
> URL: http://issues.apache.org/jira/browse/XERCESC-1561
> Project: Xerces-C++
> Type: Wish
> Components: Miscellaneous
> Versions: 2.7.0
> Environment: Linux
> Reporter: Lumir Vanek
> Attachments: DOMWriterImpl.diff, DOMWriterImpl.diff
>
> When DOMWriter::setFeature( XMLUni::fgDOMWRTFormatPrettyPrint, true ); is used
> after each element, there is 0A 0A (2 x line feed), instead of 0A what I
> expect.
> I created patch to get rid of this unwanted behavior.
> Lumir Vanek
--
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
[jira] Updated: (XERCESC-1561) fgDOMWRTFormatPrettyPrint causes
double 0A in output
Posted by "Lumir Vanek (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESC-1561?page=all ]
Lumir Vanek updated XERCESC-1561:
---------------------------------
Attachment: DOMWriterImpl.diff
I removed redundand ocurrences of printNewLine() from source.
> fgDOMWRTFormatPrettyPrint causes double 0A in output
> ----------------------------------------------------
>
> Key: XERCESC-1561
> URL: http://issues.apache.org/jira/browse/XERCESC-1561
> Project: Xerces-C++
> Type: Wish
> Components: Miscellaneous
> Versions: 2.7.0
> Environment: Linux
> Reporter: Lumir Vanek
> Attachments: DOMWriterImpl.diff, DOMWriterImpl.diff
>
> When DOMWriter::setFeature( XMLUni::fgDOMWRTFormatPrettyPrint, true ); is used
> after each element, there is 0A 0A (2 x line feed), instead of 0A what I
> expect.
> I created patch to get rid of this unwanted behavior.
> Lumir Vanek
--
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
[jira] Commented: (XERCESC-1561) fgDOMWRTFormatPrettyPrint causes
double 0A in output
Posted by "Lumir Vanek (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESC-1561?page=comments#action_12365203 ]
Lumir Vanek commented on XERCESC-1561:
--------------------------------------
Sorry for posting this same DOMWriterImpl.diff twice.
> fgDOMWRTFormatPrettyPrint causes double 0A in output
> ----------------------------------------------------
>
> Key: XERCESC-1561
> URL: http://issues.apache.org/jira/browse/XERCESC-1561
> Project: Xerces-C++
> Type: Wish
> Components: Miscellaneous
> Versions: 2.7.0
> Environment: Linux
> Reporter: Lumir Vanek
> Attachments: DOMWriterImpl.diff, DOMWriterImpl.diff
>
> When DOMWriter::setFeature( XMLUni::fgDOMWRTFormatPrettyPrint, true ); is used
> after each element, there is 0A 0A (2 x line feed), instead of 0A what I
> expect.
> I created patch to get rid of this unwanted behavior.
> Lumir Vanek
--
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
[jira] Resolved: (XERCESC-1561) fgDOMWRTFormatPrettyPrint causes
double 0A in output
Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XERCESC-1561?page=all ]
Alberto Massari resolved XERCESC-1561:
--------------------------------------
Resolution: Fixed
In the 3.0 branch in SVN the DOMLSSerializer object has a new parameter, http://apache.org/xml/features/pretty-print/space-first-level-elements, that allows you to turn this behavior off.
Alberto
> fgDOMWRTFormatPrettyPrint causes double 0A in output
> ----------------------------------------------------
>
> Key: XERCESC-1561
> URL: http://issues.apache.org/jira/browse/XERCESC-1561
> Project: Xerces-C++
> Type: Wish
> Components: Miscellaneous
> Versions: 2.7.0
> Environment: Linux
> Reporter: Lumir Vanek
> Attachments: DOMWriterImpl.diff, DOMWriterImpl.diff
>
> When DOMWriter::setFeature( XMLUni::fgDOMWRTFormatPrettyPrint, true ); is used
> after each element, there is 0A 0A (2 x line feed), instead of 0A what I
> expect.
> I created patch to get rid of this unwanted behavior.
> Lumir Vanek
--
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