changeset 1954:7110db4670d3

Make the AttributeBase fix actually compile... 2009-11-17 Andrew John Hughes <ahughes@redhat.com> * patches/ecj/icedtea-jaxws-getdtdtype.patch: Replace getDTDType method, don't add another. * HACKING: Document the patch.
author Andrew John Hughes <ahughes@redhat.com>
date Tue, 17 Nov 2009 21:35:00 +0000
parents 3f0dcd8de43f
children 278ade392786
files ChangeLog patches/ecj/icedtea-jaxws-getdtdtype.patch
diffstat 2 files changed, 15 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Nov 17 19:49:20 2009 +0000
+++ b/ChangeLog	Tue Nov 17 21:35:00 2009 +0000
@@ -1,3 +1,8 @@
+2009-11-17  Andrew John Hughes  <ahughes@redhat.com>
+
+	* patches/ecj/icedtea-jaxws-getdtdtype.patch:
+	Replace getDTDType method, don't add another.
+	
 2009-11-17  Andrew John Hughes  <ahughes@redhat.com>
 
 	* patches/ecj/icedtea-jaxws-getdtdtype.patch:
--- a/patches/ecj/icedtea-jaxws-getdtdtype.patch	Tue Nov 17 19:49:20 2009 +0000
+++ b/patches/ecj/icedtea-jaxws-getdtdtype.patch	Tue Nov 17 21:35:00 2009 +0000
@@ -11,13 +11,17 @@
              attrs.addAttribute(uri, localName, qName, type, value);
 --- drop/jaxws_src/src/com/sun/xml/internal/fastinfoset/stax/events/AttributeBase.java.old	2009-11-17 19:46:11.000000000 +0000
 +++ drop/jaxws_src/src/com/sun/xml/internal/fastinfoset/stax/events/AttributeBase.java	2009-11-17 19:46:35.000000000 +0000
-@@ -112,6 +112,9 @@
-         return _attributeType;
+@@ -108,11 +108,10 @@
+    * the String "CDATA"
+    * @return the type as a String, default is "CDATA"
+    */
+-    public String getDTDType() {
+-        return _attributeType;
++    public QName getDTDType() {
++        return new QName(_attributeType);
      }
  
-+    public QName getDTDType() {
-+        return new QName(_attributeType);
-+    }
- 
+-
    /**
     * A flag indicating whether this attribute was actually
+    * specified in the start-tag of its element, or was defaulted from the schema.