-
Enhancement
-
Resolution: Won't Fix
-
P4
-
1.4.2
-
x86
-
windows_2000
Name: rmT116609 Date: 04/01/2004
A DESCRIPTION OF THE REQUEST :
<!DOCTYPE jnlp [
<!ENTITY webserver "PUT_JAWS_WEB_SERVER_HERE">
<!ENTITY serverport "PUT_JAWS_WEB_SERVER_PORT_HERE">
<!ENTITY base_jardir "PUT_JAWS_WEB_PRIM_DIR_HERE">
<!ENTITY sub_jardir "PUT_JAWS_WEB_SUB_DIR_HERE">
]>
<jnlp
spec="1.0+"
codebase="http://&webserver;:&serverport;/&base_jardir;/&sub_jardir;"
-------------- skipped ---------------
</jnlp>
This is valid XML. But it seems Webstart XML parsing module doesn't use
DTD validation. ENTITY is std XML and allows for avoiding repeated
text. BTW if I rename this file to foo.xml and open in IE6.0 it shows up
correctly.
JUSTIFICATION :
ENTITY is std XML and allows for avoiding repeated text. BTW if I
rename this file to foo.xml and open in IE6.0 it shows up correctly.
Take a look at ANT build.xml for apache-cocoon project
<!DOCTYPE project [
<!ENTITY init-targets SYSTEM "./src/targets/init-build.xml">
]>
<project default="webapp" basedir="." name="Apache Cocoon">
<!-- Initialization targets -->
&init-targets;
</project>
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
replace entity references with entity values
ACTUAL -
MissingField <jnlp> Exception
---------- BEGIN SOURCE ----------
<!DOCTYPE jnlp [
<!ENTITY webserver "PUT_JAWS_WEB_SERVER_HERE">
<!ENTITY serverport "PUT_JAWS_WEB_SERVER_PORT_HERE">
<!ENTITY base_jardir "PUT_JAWS_WEB_PRIM_DIR_HERE">
<!ENTITY sub_jardir "PUT_JAWS_WEB_SUB_DIR_HERE">
]>
<jnlp
spec="1.0+"
codebase="http://&webserver;:&serverport;/&base_jardir;/&sub_jardir;"
-------------- skipped ---------------
</jnlp>
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Use the values explicitely and repeat in all places
(Incident Review ID: 235044)
======================================================================
A DESCRIPTION OF THE REQUEST :
<!DOCTYPE jnlp [
<!ENTITY webserver "PUT_JAWS_WEB_SERVER_HERE">
<!ENTITY serverport "PUT_JAWS_WEB_SERVER_PORT_HERE">
<!ENTITY base_jardir "PUT_JAWS_WEB_PRIM_DIR_HERE">
<!ENTITY sub_jardir "PUT_JAWS_WEB_SUB_DIR_HERE">
]>
<jnlp
spec="1.0+"
codebase="http://&webserver;:&serverport;/&base_jardir;/&sub_jardir;"
-------------- skipped ---------------
</jnlp>
This is valid XML. But it seems Webstart XML parsing module doesn't use
DTD validation. ENTITY is std XML and allows for avoiding repeated
text. BTW if I rename this file to foo.xml and open in IE6.0 it shows up
correctly.
JUSTIFICATION :
ENTITY is std XML and allows for avoiding repeated text. BTW if I
rename this file to foo.xml and open in IE6.0 it shows up correctly.
Take a look at ANT build.xml for apache-cocoon project
<!DOCTYPE project [
<!ENTITY init-targets SYSTEM "./src/targets/init-build.xml">
]>
<project default="webapp" basedir="." name="Apache Cocoon">
<!-- Initialization targets -->
&init-targets;
</project>
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
replace entity references with entity values
ACTUAL -
MissingField <jnlp> Exception
---------- BEGIN SOURCE ----------
<!DOCTYPE jnlp [
<!ENTITY webserver "PUT_JAWS_WEB_SERVER_HERE">
<!ENTITY serverport "PUT_JAWS_WEB_SERVER_PORT_HERE">
<!ENTITY base_jardir "PUT_JAWS_WEB_PRIM_DIR_HERE">
<!ENTITY sub_jardir "PUT_JAWS_WEB_SUB_DIR_HERE">
]>
<jnlp
spec="1.0+"
codebase="http://&webserver;:&serverport;/&base_jardir;/&sub_jardir;"
-------------- skipped ---------------
</jnlp>
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Use the values explicitely and repeat in all places
(Incident Review ID: 235044)
======================================================================