You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Henry Zongaro (JIRA)" <xa...@xml.apache.org> on 2005/07/21 19:13:12 UTC

[jira] Created: (XALANJ-2176) Java source should avoid making assumptions about the platform default encoding

Java source should avoid making assumptions about the platform default encoding
-------------------------------------------------------------------------------

         Key: XALANJ-2176
         URL: http://issues.apache.org/jira/browse/XALANJ-2176
     Project: XalanJ2
        Type: Bug
  Components: Documentation  
    Versions: CurrentCVS    
    Reporter: Henry Zongaro
    Priority: Trivial
     Fix For: CurrentCVS


The files xml-xalan/java/src/org/apache/xml/utils/XMLString.java, xml-xalan/java/src/org/apache/xml/utils/XMLString.java and xml-xalan/java/src/org/apache/xpath/objects/XString.java all contain characters that are encoded in ISO-8859-1.  As they are contained in Javadoc comments, I'd like to replace them with entity references in order to avoid assumptions about the platform default encoding.

-- 
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] Updated: (XALANJ-2176) Java source should avoid making assumptions about the platform default encoding

Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANJ-2176?page=all ]

Henry Zongaro updated XALANJ-2176:
----------------------------------

    Xalan info: [PatchAvailable]
      reviewer: jycli@ca.ibm.com

> Java source should avoid making assumptions about the platform default encoding
> -------------------------------------------------------------------------------
>
>          Key: XALANJ-2176
>          URL: http://issues.apache.org/jira/browse/XALANJ-2176
>      Project: XalanJ2
>         Type: Bug
>   Components: Documentation
>     Versions: CurrentCVS
>     Reporter: Henry Zongaro
>     Assignee: Henry Zongaro
>     Priority: Trivial
>      Fix For: CurrentCVS
>  Attachments: patch.j2176.txt
>
> The files xml-xalan/java/src/org/apache/xml/utils/XMLString.java, xml-xalan/java/src/org/apache/xml/utils/XMLString.java and xml-xalan/java/src/org/apache/xpath/objects/XString.java all contain characters that are encoded in ISO-8859-1.  As they are contained in Javadoc comments, I'd like to replace them with entity references in order to avoid assumptions about the platform default encoding.

-- 
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: (XALANJ-2176) Java source should avoid making assumptions about the platform default encoding

Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANJ-2176?page=all ]
     
Henry Zongaro closed XALANJ-2176:
---------------------------------


I have confirmed that the problem is fixed in Xalan-J 2.7.0.

> Java source should avoid making assumptions about the platform default encoding
> -------------------------------------------------------------------------------
>
>          Key: XALANJ-2176
>          URL: http://issues.apache.org/jira/browse/XALANJ-2176
>      Project: XalanJ2
>         Type: Bug
>   Components: Documentation
>     Versions: Latest Development Code
>     Reporter: Henry Zongaro
>     Assignee: Henry Zongaro
>     Priority: Trivial
>      Fix For: 2.7
>  Attachments: patch.j2176.txt
>
> The files xml-xalan/java/src/org/apache/xml/utils/XMLString.java, xml-xalan/java/src/org/apache/xml/utils/XMLString.java and xml-xalan/java/src/org/apache/xpath/objects/XString.java all contain characters that are encoded in ISO-8859-1.  As they are contained in Javadoc comments, I'd like to replace them with entity references in order to avoid assumptions about the platform default encoding.

-- 
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] Updated: (XALANJ-2176) Java source should avoid making assumptions about the platform default encoding

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANJ-2176?page=all ]

Brian Minchau updated XALANJ-2176:
----------------------------------

    Fix Version: 2.7
                     (was: CurrentCVS)

> Java source should avoid making assumptions about the platform default encoding
> -------------------------------------------------------------------------------
>
>          Key: XALANJ-2176
>          URL: http://issues.apache.org/jira/browse/XALANJ-2176
>      Project: XalanJ2
>         Type: Bug
>   Components: Documentation
>     Versions: CurrentCVS
>     Reporter: Henry Zongaro
>     Assignee: Henry Zongaro
>     Priority: Trivial
>      Fix For: 2.7
>  Attachments: patch.j2176.txt
>
> The files xml-xalan/java/src/org/apache/xml/utils/XMLString.java, xml-xalan/java/src/org/apache/xml/utils/XMLString.java and xml-xalan/java/src/org/apache/xpath/objects/XString.java all contain characters that are encoded in ISO-8859-1.  As they are contained in Javadoc comments, I'd like to replace them with entity references in order to avoid assumptions about the platform default encoding.

-- 
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] Updated: (XALANJ-2176) Java source should avoid making assumptions about the platform default encoding

Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANJ-2176?page=all ]

Henry Zongaro updated XALANJ-2176:
----------------------------------

    Attachment: patch.j2176.txt

> Java source should avoid making assumptions about the platform default encoding
> -------------------------------------------------------------------------------
>
>          Key: XALANJ-2176
>          URL: http://issues.apache.org/jira/browse/XALANJ-2176
>      Project: XalanJ2
>         Type: Bug
>   Components: Documentation
>     Versions: CurrentCVS
>     Reporter: Henry Zongaro
>     Priority: Trivial
>      Fix For: CurrentCVS
>  Attachments: patch.j2176.txt
>
> The files xml-xalan/java/src/org/apache/xml/utils/XMLString.java, xml-xalan/java/src/org/apache/xml/utils/XMLString.java and xml-xalan/java/src/org/apache/xpath/objects/XString.java all contain characters that are encoded in ISO-8859-1.  As they are contained in Javadoc comments, I'd like to replace them with entity references in order to avoid assumptions about the platform default encoding.

-- 
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: (XALANJ-2176) Java source should avoid making assumptions about the platform default encoding

Posted by "elharo (JIRA)" <xa...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XALANJ-2176?page=comments#action_12316391 ] 

elharo commented on XALANJ-2176:
--------------------------------

While this wouldn't hurt anything, it seems unnecessary. The javadoc tool allows one to specify both the input encoding of the source documents and the output encoding of the generated documents. No assumptions about the platform default encoding are necessary at any point. 

> Java source should avoid making assumptions about the platform default encoding
> -------------------------------------------------------------------------------
>
>          Key: XALANJ-2176
>          URL: http://issues.apache.org/jira/browse/XALANJ-2176
>      Project: XalanJ2
>         Type: Bug
>   Components: Documentation
>     Versions: CurrentCVS
>     Reporter: Henry Zongaro
>     Assignee: Henry Zongaro
>     Priority: Trivial
>      Fix For: CurrentCVS
>  Attachments: patch.j2176.txt
>
> The files xml-xalan/java/src/org/apache/xml/utils/XMLString.java, xml-xalan/java/src/org/apache/xml/utils/XMLString.java and xml-xalan/java/src/org/apache/xpath/objects/XString.java all contain characters that are encoded in ISO-8859-1.  As they are contained in Javadoc comments, I'd like to replace them with entity references in order to avoid assumptions about the platform default encoding.

-- 
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] Assigned: (XALANJ-2176) Java source should avoid making assumptions about the platform default encoding

Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANJ-2176?page=all ]

Henry Zongaro reassigned XALANJ-2176:
-------------------------------------

    Assign To: Henry Zongaro

> Java source should avoid making assumptions about the platform default encoding
> -------------------------------------------------------------------------------
>
>          Key: XALANJ-2176
>          URL: http://issues.apache.org/jira/browse/XALANJ-2176
>      Project: XalanJ2
>         Type: Bug
>   Components: Documentation
>     Versions: CurrentCVS
>     Reporter: Henry Zongaro
>     Assignee: Henry Zongaro
>     Priority: Trivial
>      Fix For: CurrentCVS
>  Attachments: patch.j2176.txt
>
> The files xml-xalan/java/src/org/apache/xml/utils/XMLString.java, xml-xalan/java/src/org/apache/xml/utils/XMLString.java and xml-xalan/java/src/org/apache/xpath/objects/XString.java all contain characters that are encoded in ISO-8859-1.  As they are contained in Javadoc comments, I'd like to replace them with entity references in order to avoid assumptions about the platform default encoding.

-- 
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: (XALANJ-2176) Java source should avoid making assumptions about the platform default encoding

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XALANJ-2176?page=comments#action_12319259 ] 

Brian Minchau commented on XALANJ-2176:
---------------------------------------

Henry, as the reporter of this issue, and since the patch should be in the 2.7 release, please close this issue.

> Java source should avoid making assumptions about the platform default encoding
> -------------------------------------------------------------------------------
>
>          Key: XALANJ-2176
>          URL: http://issues.apache.org/jira/browse/XALANJ-2176
>      Project: XalanJ2
>         Type: Bug
>   Components: Documentation
>     Versions: Latest Development Code
>     Reporter: Henry Zongaro
>     Assignee: Henry Zongaro
>     Priority: Trivial
>      Fix For: 2.7
>  Attachments: patch.j2176.txt
>
> The files xml-xalan/java/src/org/apache/xml/utils/XMLString.java, xml-xalan/java/src/org/apache/xml/utils/XMLString.java and xml-xalan/java/src/org/apache/xpath/objects/XString.java all contain characters that are encoded in ISO-8859-1.  As they are contained in Javadoc comments, I'd like to replace them with entity references in order to avoid assumptions about the platform default encoding.

-- 
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: (XALANJ-2176) Java source should avoid making assumptions about the platform default encoding

Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANJ-2176?page=all ]
     
Henry Zongaro resolved XALANJ-2176:
-----------------------------------

    Resolution: Fixed

Applied patch in CVS.

> Java source should avoid making assumptions about the platform default encoding
> -------------------------------------------------------------------------------
>
>          Key: XALANJ-2176
>          URL: http://issues.apache.org/jira/browse/XALANJ-2176
>      Project: XalanJ2
>         Type: Bug
>   Components: Documentation
>     Versions: CurrentCVS
>     Reporter: Henry Zongaro
>     Assignee: Henry Zongaro
>     Priority: Trivial
>      Fix For: CurrentCVS
>  Attachments: patch.j2176.txt
>
> The files xml-xalan/java/src/org/apache/xml/utils/XMLString.java, xml-xalan/java/src/org/apache/xml/utils/XMLString.java and xml-xalan/java/src/org/apache/xpath/objects/XString.java all contain characters that are encoded in ISO-8859-1.  As they are contained in Javadoc comments, I'd like to replace them with entity references in order to avoid assumptions about the platform default encoding.

-- 
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: (XALANJ-2176) Java source should avoid making assumptions about the platform default encoding

Posted by "Christine Li (JIRA)" <xa...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XALANJ-2176?page=comments#action_12316392 ] 

Christine Li commented on XALANJ-2176:
--------------------------------------

The patch looks good. 

> Java source should avoid making assumptions about the platform default encoding
> -------------------------------------------------------------------------------
>
>          Key: XALANJ-2176
>          URL: http://issues.apache.org/jira/browse/XALANJ-2176
>      Project: XalanJ2
>         Type: Bug
>   Components: Documentation
>     Versions: CurrentCVS
>     Reporter: Henry Zongaro
>     Assignee: Henry Zongaro
>     Priority: Trivial
>      Fix For: CurrentCVS
>  Attachments: patch.j2176.txt
>
> The files xml-xalan/java/src/org/apache/xml/utils/XMLString.java, xml-xalan/java/src/org/apache/xml/utils/XMLString.java and xml-xalan/java/src/org/apache/xpath/objects/XString.java all contain characters that are encoded in ISO-8859-1.  As they are contained in Javadoc comments, I'd like to replace them with entity references in order to avoid assumptions about the platform default encoding.

-- 
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: (XALANJ-2176) Java source should avoid making assumptions about the platform default encoding

Posted by "Henry Zongaro (JIRA)" <xa...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XALANJ-2176?page=comments#action_12316395 ] 

Henry Zongaro commented on XALANJ-2176:
---------------------------------------

I've seen dumb editors and dumb IDEs do dumb things when they assumed ISO-8859-1 encoded files were really UTF-8 encoded (like refuse to display the files or mangle the offending characters upon saving the files), and I've seen a bug in a certain level of JDK produced by a certain vendor that caused javac to produce hard errors when it encountered what it thought were ill-formed UTF-8 characters which were really characters encoded in ISO-8859-1.

I'd prefer to avoid the problem entirely.

> Java source should avoid making assumptions about the platform default encoding
> -------------------------------------------------------------------------------
>
>          Key: XALANJ-2176
>          URL: http://issues.apache.org/jira/browse/XALANJ-2176
>      Project: XalanJ2
>         Type: Bug
>   Components: Documentation
>     Versions: CurrentCVS
>     Reporter: Henry Zongaro
>     Assignee: Henry Zongaro
>     Priority: Trivial
>      Fix For: CurrentCVS
>  Attachments: patch.j2176.txt
>
> The files xml-xalan/java/src/org/apache/xml/utils/XMLString.java, xml-xalan/java/src/org/apache/xml/utils/XMLString.java and xml-xalan/java/src/org/apache/xpath/objects/XString.java all contain characters that are encoded in ISO-8859-1.  As they are contained in Javadoc comments, I'd like to replace them with entity references in order to avoid assumptions about the platform default encoding.

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