Details
-
Bug
-
Status: Resolved
-
Resolution: Incomplete
-
2.2.0
-
None
-
None
-
Operating System: Windows XP
Platform: PC
-
13200
Description
When I overload attributeDecl like this
public void attributeDecl(String elementname,
String attibutename,
String type,
String[] enumeration,
String defaulttype,
XMLString defaultvalue,
XMLString nonnormalizeddefaultvalue,
Augmentations augmentations) throws XNIException
{ System.out.println(" valueDefault = "+defaultvalue);
System.out.println(" value = "+nonnormalizeddefaultvalue);
}
I Apply the DTD loader to this DTD
<!ELEMENT company ( #PCDATA ) >
<!ATTLIST company type CDATA "toto">
<!ATTLIST company id CDATA #REQUIRED >
...
the result is :
valueDefault = toto
value = toto
valueDefault = null
value = null
I think there is a bug ...