-
Bug
-
Resolution: Fixed
-
P4
-
6
-
1.4
-
x86
-
windows_2000, windows_xp
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2185511 | 7 | Joe Wang | P3 | Closed | Fixed | m05 |
JDK-2154325 | 6-pool | Mala Bankal | P3 | Closed | Won't Fix | |
JDK-2182524 | 6u18 | Joe Wang | P4 | Resolved | Fixed | b02 |
JDK-2154326 | 5.0-pool | Mala Bankal | P4 | Closed | Won't Fix |
FULL PRODUCT VERSION :
1.6.0_02-b05
ADDITIONAL OS VERSION INFORMATION :
Windows 2000 sp 4...
A DESCRIPTION OF THE PROBLEM :
We use the dtd below to build our documentation with jdk 1.5.0_11-b03 successfully. Now with jdk 1.6.0_02-b05 , the SAX parser complains about our parameter entity definitions.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
see the dtd below...
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
we did not have a problem using this dtd in jdk 1.5.0_11-b03
ACTUAL -
we can not build our documentation using jdk 1.6.0_02-b05.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
the following error is thrown during dtd parsing:
org.xml.sax.SAXParseException: The replacement text of
parameter entity '%xhtml' must include properly nested declarations when the
entity reference is used as a complete declaration
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
the jdk 1.6 parser is tripping on the parameter entity %xhtml definition in line #2-3 below::
<!ENTITY % label.qname "IGNORE" >
<!ENTITY % xhtml PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11-flat.dtd">
%xhtml;
<!ELEMENT page (breadcrumbs, lead, details?, tasks?, concepts?, controls*, labels?,messages?)>
<!ATTLIST page
key CDATA #REQUIRED
WebLogicServer (yes|no) "yes"
WebLogicExpress (yes|no) "yes"
keywords CDATA #IMPLIED
description CDATA #IMPLIED
Status CDATA #IMPLIED
>
<!ELEMENT breadcrumbs (#PCDATA)>
<!ELEMENT lead ( %Flow.mix;)* >
<!ATTLIST lead
key CDATA #IMPLIED
>
<!ELEMENT details ( %Flow.mix;)*>
<!ELEMENT tasks (xref*)>
<!ATTLIST tasks
key CDATA #IMPLIED
>
<!ELEMENT concepts (xref*)>
<!ELEMENT xref (#PCDATA)>
<!ATTLIST xref
href CDATA #REQUIRED
type CDATA #IMPLIED
>
<!ELEMENT controls (control*, advanced-group?)>
<!ATTLIST controls
type (table | tableNoCustomize | configuration | assistant | buttons | monitorPage | id ) #IMPLIED
id CDATA #IMPLIED
>
<!ELEMENT control ((lead, (details)?)?, import?)>
<!ATTLIST control
key CDATA #REQUIRED
label CDATA #REQUIRED
>
<!ELEMENT advanced-group (control+)>
<!ELEMENT import EMPTY>
<!ATTLIST import
mbean CDATA #REQUIRED
property CDATA #REQUIRED
>
<!ELEMENT labels (label*)>
<!ELEMENT label (#PCDATA | %Inline.mix;)* >
<!ATTLIST label
key CDATA #REQUIRED
label CDATA #IMPLIED
>
<!ELEMENT messages (message*)>
<!ELEMENT message (#PCDATA | %Flow.mix;)* >
<!ATTLIST message
key CDATA #REQUIRED
message CDATA #IMPLIED
>
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
please advise how we can work around this problem...
Release Regression From : 5.0u11
The above release value was the last known release where this
bug was not reproducible. Since then there has been a regression.
1.6.0_02-b05
ADDITIONAL OS VERSION INFORMATION :
Windows 2000 sp 4...
A DESCRIPTION OF THE PROBLEM :
We use the dtd below to build our documentation with jdk 1.5.0_11-b03 successfully. Now with jdk 1.6.0_02-b05 , the SAX parser complains about our parameter entity definitions.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
see the dtd below...
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
we did not have a problem using this dtd in jdk 1.5.0_11-b03
ACTUAL -
we can not build our documentation using jdk 1.6.0_02-b05.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
the following error is thrown during dtd parsing:
org.xml.sax.SAXParseException: The replacement text of
parameter entity '%xhtml' must include properly nested declarations when the
entity reference is used as a complete declaration
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
the jdk 1.6 parser is tripping on the parameter entity %xhtml definition in line #2-3 below::
<!ENTITY % label.qname "IGNORE" >
<!ENTITY % xhtml PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11-flat.dtd">
%xhtml;
<!ELEMENT page (breadcrumbs, lead, details?, tasks?, concepts?, controls*, labels?,messages?)>
<!ATTLIST page
key CDATA #REQUIRED
WebLogicServer (yes|no) "yes"
WebLogicExpress (yes|no) "yes"
keywords CDATA #IMPLIED
description CDATA #IMPLIED
Status CDATA #IMPLIED
>
<!ELEMENT breadcrumbs (#PCDATA)>
<!ELEMENT lead ( %Flow.mix;)* >
<!ATTLIST lead
key CDATA #IMPLIED
>
<!ELEMENT details ( %Flow.mix;)*>
<!ELEMENT tasks (xref*)>
<!ATTLIST tasks
key CDATA #IMPLIED
>
<!ELEMENT concepts (xref*)>
<!ELEMENT xref (#PCDATA)>
<!ATTLIST xref
href CDATA #REQUIRED
type CDATA #IMPLIED
>
<!ELEMENT controls (control*, advanced-group?)>
<!ATTLIST controls
type (table | tableNoCustomize | configuration | assistant | buttons | monitorPage | id ) #IMPLIED
id CDATA #IMPLIED
>
<!ELEMENT control ((lead, (details)?)?, import?)>
<!ATTLIST control
key CDATA #REQUIRED
label CDATA #REQUIRED
>
<!ELEMENT advanced-group (control+)>
<!ELEMENT import EMPTY>
<!ATTLIST import
mbean CDATA #REQUIRED
property CDATA #REQUIRED
>
<!ELEMENT labels (label*)>
<!ELEMENT label (#PCDATA | %Inline.mix;)* >
<!ATTLIST label
key CDATA #REQUIRED
label CDATA #IMPLIED
>
<!ELEMENT messages (message*)>
<!ELEMENT message (#PCDATA | %Flow.mix;)* >
<!ATTLIST message
key CDATA #REQUIRED
message CDATA #IMPLIED
>
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
please advise how we can work around this problem...
Release Regression From : 5.0u11
The above release value was the last known release where this
bug was not reproducible. Since then there has been a regression.
- backported by
-
JDK-2182524 SAX error parsing dtd in jdk 1.6: "The replacement text of parameter entity...."
-
- Resolved
-
-
JDK-2154325 SAX error parsing dtd in jdk 1.6: "The replacement text of parameter entity...."
-
- Closed
-
-
JDK-2185511 SAX error parsing dtd in jdk 1.6: "The replacement text of parameter entity...."
-
- Closed
-
-
JDK-2154326 SAX error parsing dtd in jdk 1.6: "The replacement text of parameter entity...."
-
- Closed
-