summaryrefslogtreecommitdiff
path: root/javax
diff options
context:
space:
mode:
authorRobert Schuster <theBohemian@gmx.net>2008-03-04 17:39:58 +0000
committerRobert Schuster <theBohemian@gmx.net>2008-03-04 17:39:58 +0000
commit04846ffa0396d1c741d42e20aa99bb0e33ade518 (patch)
tree901b35935a61cf0584df2fdeddbf485f6ad4acaa /javax
parent22e05c59dcbd7a1641d5c79104fde5a6d5a09c80 (diff)
downloadclasspath-04846ffa0396d1c741d42e20aa99bb0e33ade518.tar.gz
Fixes an incompatibility with official StAX API.
2008-03-04 Robert Schuster <robertschuster@fsfe.org> * gnu/xml/stream/AttributeImpl.java: Changed type field to String. (getDTDType): Changed return type to String. * gnu/xml/stream/XMLEventAllocatorImpl.java: (allocate): Removed wrapping of string in QName object. * gnu/xml/stream/XMLEventFactoryImpl.java: (createAttribute(String, String)): Removed wrapping of string in QName object. (createAttribute(QName, String)): Dito. (createAttribute(String, String, String, String)): Dito. * javax/xml/stream/events/Attribute.java: (getDTDType): Changed return type to String.
Diffstat (limited to 'javax')
-rw-r--r--javax/xml/stream/events/Attribute.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/javax/xml/stream/events/Attribute.java b/javax/xml/stream/events/Attribute.java
index cf4711374..6e6d0274c 100644
--- a/javax/xml/stream/events/Attribute.java
+++ b/javax/xml/stream/events/Attribute.java
@@ -59,7 +59,7 @@ public interface Attribute
/**
* Returns the type of this attribute.
*/
- QName getDTDType();
+ String getDTDType();
/**
* Indicates whether this attribute was specified in the input source, or