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 2006/01/11 07:38:21 UTC

[jira] Closed: (XALANJ-2220) Serializer shouldn't know its own package (clean up)

     [ http://issues.apache.org/jira/browse/XALANJ-2220?page=all ]
     
Brian Minchau closed XALANJ-2220:
---------------------------------


> Serializer shouldn't know its own package (clean up)
> ----------------------------------------------------
>
>          Key: XALANJ-2220
>          URL: http://issues.apache.org/jira/browse/XALANJ-2220
>      Project: XalanJ2
>         Type: Improvement
>   Components: Serialization
>     Versions: Latest Development Code
>     Reporter: Brian Minchau
>     Assignee: Brian Minchau
>      Fix For: Latest Development Code
>  Attachments: 2220.patch1.txt
>
> The serializer knows of its own package name, not just through hard 
> references, e.g. import statements, but through "soft" references in Strings. 
> For example the serializer's CharInfo.java has this code in it:
>         public static final String XML_ENTITIES_RESOURCE 
>                   =  "org.apache.xml.serializer.XMLEntities";
> When Apache code is repackaged (e.g. by Sun or IBM) it is 
> sometimes has its package names changed.  Repackaging would be 
> easier and safer if the code in the serializer was not aware of its own package 
> names in "soft" references in Strings.  Hard references are easy to fix 
> at build time, soft references will show breakage at runtime. It would be 
> easier for repackagers, and safter if the serializer had not soft references 
> to its own package name.

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