Robert Schuster wrote:
> while trying to compile woodstox 2.0.6 on classpath I stumbled across an
> incompatibility in out StAX API. The attached patch fixes the interface
> and adjust all implementations within classpath.
> 
> Regards
> Robert
> 
> 2008-03-04  Robert Schuster  <[EMAIL PROTECTED]>
> 
>   * 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.

Yes - at the time our StAX implementation was developed the spec was
subtlely different. It seems it's now stabilised to define the type
property as a String as you say. Please commit.
-- 
Chris Burdess

Attachment: pgphJk3pRtxqL.pgp
Description: PGP signature

Reply via email to