You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2005/06/04 00:18:53 UTC

[jira] Commented: (XALANJ-1701) serializerd HTML attributes output a new-line as carriage-return and new-line

    [ http://issues.apache.org/jira/browse/XALANJ-1701?page=comments#action_12312582 ] 

Brian Minchau commented on XALANJ-1701:
---------------------------------------

Upon re-reading the spec this is not a requirement.

However, it may be of interest to know that XALANJ-2093, which will be in the Xalan-J 2.7 release, will allow you to specify what \n is normalized to on output. For example, you can pick <xsl:output  xalan:line-separator="&#10;" > and it won't use the runtime library value for the line separator. That should give the user any control on this carriage-return issue.

> serializerd HTML attributes output a new-line as carriage-return and new-line
> -----------------------------------------------------------------------------
>
>          Key: XALANJ-1701
>          URL: http://issues.apache.org/jira/browse/XALANJ-1701
>      Project: XalanJ2
>         Type: Bug
>   Components: Serialization
>     Versions: CurrentCVS
>  Environment: Operating System: Other
> Platform: Other
>     Reporter: Brian Minchau
>     Assignee: Xalan Developers Mailing List

>
> According to section 6.2 of the HTML 4.0 spec I think that a new-line in an 
> attribute should output a line new-line only.  
> The line feed will be ignored by the browser, which is OK.
> I think having the processor emit a carriage return as well distorts the 
> meaning.

-- 
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org