-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
5.0
-
x86
-
windows_xp
Name: js151677 Date: 08/04/2004
FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
winXP pro
A DESCRIPTION OF THE PROBLEM :
in the javadoc document Synth.dtd's ELEMENT state is
<!ELEMENT state (font | color | painter | imagePainter | (%beansPersistance;))*>
<!ATTLIST state
id ID #IMPLIED
clone IDREF #IMPLIED
value CDATA #IMPLIED
idref IDREF #IMPLIED
>
I think should add two child element "imageIcon" and "property" in this document.
<!ELEMENT state (font | color | painter | imagePainter | imageIcon | property | (%beansPersistance;))*>
<!ATTLIST state
id ID #IMPLIED
clone IDREF #IMPLIED
value CDATA #IMPLIED
idref IDREF #IMPLIED
>
------------------------------------------------------------------------------------------------
SynthLookAndFeel can successfully load xml which contains follow element structure
<state>
<imageIcon/>
<property/>
</state>
why the DTD document's ELEMENT state without these children denotation ?
I have found some similar errors in Synth.dtd document, why is it so lax?
I think the synth functions should base on this dtd to verify xml, but the synth functions work in gear , are they not using this DTD?
Maybe I mistake?
REGRESSION. Last worked in version tiger-beta2
REPRODUCIBILITY :
This bug can be reproduced always.
(Incident Review ID: 295524)
======================================================================
###@###.### 10/15/04 18:20 GMT
FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
winXP pro
A DESCRIPTION OF THE PROBLEM :
in the javadoc document Synth.dtd's ELEMENT state is
<!ELEMENT state (font | color | painter | imagePainter | (%beansPersistance;))*>
<!ATTLIST state
id ID #IMPLIED
clone IDREF #IMPLIED
value CDATA #IMPLIED
idref IDREF #IMPLIED
>
I think should add two child element "imageIcon" and "property" in this document.
<!ELEMENT state (font | color | painter | imagePainter | imageIcon | property | (%beansPersistance;))*>
<!ATTLIST state
id ID #IMPLIED
clone IDREF #IMPLIED
value CDATA #IMPLIED
idref IDREF #IMPLIED
>
------------------------------------------------------------------------------------------------
SynthLookAndFeel can successfully load xml which contains follow element structure
<state>
<imageIcon/>
<property/>
</state>
why the DTD document's ELEMENT state without these children denotation ?
I have found some similar errors in Synth.dtd document, why is it so lax?
I think the synth functions should base on this dtd to verify xml, but the synth functions work in gear , are they not using this DTD?
Maybe I mistake?
REGRESSION. Last worked in version tiger-beta2
REPRODUCIBILITY :
This bug can be reproduced always.
(Incident Review ID: 295524)
======================================================================
###@###.### 10/15/04 18:20 GMT
- duplicates
-
JDK-5080070 Synth doc bugs
-
- Resolved
-