SHA256
1
0
forked from pool/bea-stax
bea-stax/bea-stax-gcj43-build.patch

12 lines
600 B
Diff

--- 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()); }