The following comment has been added to this issue:
Author: Henry Zongaro
Created: Wed, 15 Sep 2004 9:41 AM
Body:
Is there any reason why you can't use the xalan:entities output property in your
stylesheets to achieve what you are trying to do? See [1] for more information.
[1] http://xml.apache.org/xalan-j/usagepatterns.html#outputprops
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/XALANJ-1943?page=comments#action_53113
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XALANJ-1943
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XALANJ-1943
Summary: jre1.4.2_05 and XML_ENTITIES_RESOURCE
Type: Bug
Status: Unassigned
Priority: Major
Project: XalanJ2
Components:
Serialization
Versions:
2.4
Assignee:
Reporter: amit arora
Created: Wed, 15 Sep 2004 2:31 AM
Updated: Wed, 15 Sep 2004 9:41 AM
Environment: WIN 2000, JRE1.4.2_05
Description:
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?
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]