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


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to