--- src/com/bea/xml/stream/AttributeBase.java +++ src/com/bea/xml/stream/AttributeBase.java @@ -86,7 +86,7 @@ public boolean isNamespaceDeclaration() { return false; } public String getLocalName() { return name.getLocalPart(); } public String getValue() { return value; } - public String getDTDType() { return "CDATA"; } + public javax.xml.namespace.QName getDTDType() { return new javax.xml.namespace.QName("CDATA"); } public String getNamespaceURI() { return name.getNamespaceURI();} public void setNamespaceURI(String uri) { name = new QName(uri,name.getLocalPart()); }