You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "David Bertoni (JIRA)" <xa...@xml.apache.org> on 2006/02/03 23:13:03 UTC
[jira] Created: (XALANC-600) Serializers don't always report the
correct encoding
Serializers don't always report the correct encoding
----------------------------------------------------
Key: XALANC-600
URL: http://issues.apache.org/jira/browse/XALANC-600
Project: XalanC
Type: Bug
Components: XalanC
Versions: CurrentCVS
Reporter: David Bertoni
Assigned to: David Bertoni
Attachments: patch.diff
When XalanFormatterToXMLUnicode was modified to write encodings other than UTF-8 or UTF-16, code wasn't added to ensure the correct encoding is reported. As a result, if the serializer is asked to report its encoding, problems can result. Particularaly, if the processor is switching from XML to HTML formatter, the newly created HTML serializer will generate UTF-16, instead of the encoding that was previously used.
--
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
[jira] Commented: (XALANC-600) Serializers don't always report the
correct encoding
Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANC-600?page=comments#action_12365223 ]
David Bertoni commented on XALANC-600:
--------------------------------------
I used the TortoiseSVN menu to create a patch, so I don't know why it didn't work. I just tried to apply it with Cygwin, and it worked fine.
On the other hand, I reconsidered the patch and I've come up with something that is less intrusive, so let me post a new patch. I'll create that by doing a diff, so I hope that will work.
> Serializers don't always report the correct encoding
> ----------------------------------------------------
>
> Key: XALANC-600
> URL: http://issues.apache.org/jira/browse/XALANC-600
> Project: XalanC
> Type: Bug
> Components: XalanC
> Versions: CurrentCVS
> Reporter: David Bertoni
> Assignee: David Bertoni
> Attachments: patch.diff
>
> When XalanFormatterToXMLUnicode was modified to write encodings other than UTF-8 or UTF-16, code wasn't added to ensure the correct encoding is reported. As a result, if the serializer is asked to report its encoding, problems can result. Particularaly, if the processor is switching from XML to HTML formatter, the newly created HTML serializer will generate UTF-16, instead of the encoding that was previously used.
--
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
[jira] Resolved: (XALANC-600) Serializers don't always report the
correct encoding
Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANC-600?page=all ]
David Bertoni resolved XALANC-600:
----------------------------------
Resolution: Fixed
> Serializers don't always report the correct encoding
> ----------------------------------------------------
>
> Key: XALANC-600
> URL: http://issues.apache.org/jira/browse/XALANC-600
> Project: XalanC
> Type: Bug
> Components: XalanC
> Versions: CurrentCVS
> Reporter: David Bertoni
> Assignee: David Bertoni
> Attachments: patch.diff, patch2.diff
>
> When XalanFormatterToXMLUnicode was modified to write encodings other than UTF-8 or UTF-16, code wasn't added to ensure the correct encoding is reported. As a result, if the serializer is asked to report its encoding, problems can result. Particularaly, if the processor is switching from XML to HTML formatter, the newly created HTML serializer will generate UTF-16, instead of the encoding that was previously used.
--
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
[jira] Commented: (XALANC-600) Serializers don't always report the
correct encoding
Posted by "Dmitry Hayes (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANC-600?page=comments#action_12365196 ]
Dmitry Hayes commented on XALANC-600:
-------------------------------------
Hi Dave! For some reason the patch failing the applying process, but the patch looks perfectly legal. I use "patch < patch.diff" . Can you try to apply the patch on your source base? Thanks!
> Serializers don't always report the correct encoding
> ----------------------------------------------------
>
> Key: XALANC-600
> URL: http://issues.apache.org/jira/browse/XALANC-600
> Project: XalanC
> Type: Bug
> Components: XalanC
> Versions: CurrentCVS
> Reporter: David Bertoni
> Assignee: David Bertoni
> Attachments: patch.diff
>
> When XalanFormatterToXMLUnicode was modified to write encodings other than UTF-8 or UTF-16, code wasn't added to ensure the correct encoding is reported. As a result, if the serializer is asked to report its encoding, problems can result. Particularaly, if the processor is switching from XML to HTML formatter, the newly created HTML serializer will generate UTF-16, instead of the encoding that was previously used.
--
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
[jira] Closed: (XALANC-600) Serializers don't always report the
correct encoding
Posted by "David Bertoni (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANC-600?page=all ]
David Bertoni closed XALANC-600:
--------------------------------
Patch applied.
> Serializers don't always report the correct encoding
> ----------------------------------------------------
>
> Key: XALANC-600
> URL: http://issues.apache.org/jira/browse/XALANC-600
> Project: XalanC
> Type: Bug
> Components: XalanC
> Versions: CurrentCVS
> Reporter: David Bertoni
> Assignee: David Bertoni
> Attachments: patch.diff, patch2.diff
>
> When XalanFormatterToXMLUnicode was modified to write encodings other than UTF-8 or UTF-16, code wasn't added to ensure the correct encoding is reported. As a result, if the serializer is asked to report its encoding, problems can result. Particularaly, if the processor is switching from XML to HTML formatter, the newly created HTML serializer will generate UTF-16, instead of the encoding that was previously used.
--
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
[jira] Commented: (XALANC-600) Serializers don't always report the
correct encoding
Posted by "Dmitry Hayes (JIRA)" <xa...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XALANC-600?page=comments#action_12365316 ]
Dmitry Hayes commented on XALANC-600:
-------------------------------------
The second patch is fine. Let's commit it. Thanks!
> Serializers don't always report the correct encoding
> ----------------------------------------------------
>
> Key: XALANC-600
> URL: http://issues.apache.org/jira/browse/XALANC-600
> Project: XalanC
> Type: Bug
> Components: XalanC
> Versions: CurrentCVS
> Reporter: David Bertoni
> Assignee: David Bertoni
> Attachments: patch.diff, patch2.diff
>
> When XalanFormatterToXMLUnicode was modified to write encodings other than UTF-8 or UTF-16, code wasn't added to ensure the correct encoding is reported. As a result, if the serializer is asked to report its encoding, problems can result. Particularaly, if the processor is switching from XML to HTML formatter, the newly created HTML serializer will generate UTF-16, instead of the encoding that was previously used.
--
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