[ http://issues.apache.org/jira/browse/XALANJ-2093?page=all ]

Brian Minchau updated XALANJ-2093:
----------------------------------

    Attachment: line-separator.patch.txt

Attaching a patch to the serializer, for a new xalan extension property.

This property can be set in xsl:output
  <xsl:output xalan:line-separator="&#10;" />
where xalan is a prefix associated with the URL "http://xml.apache.org/xalan";.

Alternately of course, if the transformation is run through JAXP,
this could be programatically set:
transformer.setOutputProperty("{http://xml.apache.org/xalan}line-separator","\n";);


> Serializer needs an API to set the end of line sequence
> -------------------------------------------------------
>
>          Key: XALANJ-2093
>          URL: http://issues.apache.org/jira/browse/XALANJ-2093
>      Project: XalanJ2
>         Type: New Feature
>   Components: Serialization
>     Reporter: Brian Minchau
>     Assignee: Brian Minchau
>  Attachments: line-separator.patch.txt
>
> The serializer currently gets the end of line squence from 
> System.getProperty("line.separator") at runtime. There have been numbers bugs 
> opened over related issues ( e.g. XALANJ-2075 ).  It isn't that this is a 
> bug, but that many issue reporters would be satisfied if there was a way to 
> set the line separator.

-- 
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