[ http://issues.apache.org/jira/browse/XALANJ-1943?page=comments#action_12319042 ]
Brian Minchau commented on XALANJ-1943: --------------------------------------- Amit, please verify that one of the public APIs described in this issue works for you, and close this issue. Thanks, Brian > jre1.4.2_05 and XML_ENTITIES_RESOURCE > ------------------------------------- > > Key: XALANJ-1943 > URL: http://issues.apache.org/jira/browse/XALANJ-1943 > Project: XalanJ2 > Type: Bug > Components: Serialization > Versions: 2.4 > Environment: WIN 2000, JRE1.4.2_05 > Reporter: amit arora > Fix For: 2.7 > > Hi > I am currently working on a problem to make my code compatible with > jre1.4.2_05, I am getting an exception (illegal access) on this line --- > > org.apache.xalan.serialize.CharInfo.XML_ENTITIES_RESOURCE = codeBaseStr; > > As jre is not allowing me to assign any value to XML_ENTITIES_RESOURCE > variable. > I am not using xalan 2.6.0. > I have gone through your changes in xalan 2.6. 0, if I use xalan 2.6.0, still > I have to put new xalan in jre directory which I can't do. > > Committed by [EMAIL PROTECTED] on 2003/04/06 > Modified: xml-xalan/java/src/org/apache/xml/serializer CharInfo.java > HTMLEntities.properties output_html.properties output_xml.properties > XMLEntities.properties xml-xalan/java/xdocs/sources/xalan usagepatterns.xml > Committer's log entry: Patch from Christine Li ([EMAIL PROTECTED]). Changed > Char Info so that it allows descriptions of entities to be specified as a > properties file in addition to a Xalan-specific resource file format. The > code previously always assumed a Xalan-specific resource file format, for > both user-supplied descriptions of entities, and for those supplied with > Xalan-J. The security restrictions of applets are such that an applet that > relies on a copy of Xalan-J in the Java run-time would find that Xalan-J > would be unable to read the default entities file that is packaged with the > JRE on the applet's behalf - it can only do so with a properties, via > Resource Bundle . > > Can you give me any idea to solve this problem? > > -- 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]
