[ 
https://issues.apache.org/jira/browse/XMLBEANS-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Radu Preotiuc-Pietro resolved XMLBEANS-187.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: TBD

So what I did was changed the code so that those attributes are not included at 
all in the Attributes object. Hopefully, no-one out there has code that relies 
on them being there, because this is not what SAX says, as has been pointed 
out. I have added an XmlOption, SAVE_SAX_NAMESPACE_PREFIXES, to turn the old 
behavior on, as per spec, and made the change so that localName is reported 
correctly in that case. SVN revision is 641673. The spring issue seems to be 
the same thing and therefore should also be fixed.


> sax spec requires local name
> ----------------------------
>
>                 Key: XMLBEANS-187
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-187
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions: Version 1.0.4, Version 2
>         Environment: windows xp, tested on java 1.4.2 and 1.5
>            Reporter: Ben Anderson
>             Fix For: TBD
>
>         Attachments: ben.patch
>
>
> I posted this as a mail note a while back:
> http://marc.theaimsgroup.com/?l=xmlbeans-dev&m=111599749418156&w=2
> The problem came about when I tried using the save method in cocoon with 
> saxon.  With xalan everthing works fine, but not with saxon.  Michael Kay 
> claims that saxon is correct:
> http://marc.theaimsgroup.com/?l=xmlbeans-dev&m=111599522507748&w=2
> according to the sax spec:
> http://www.saxproject.org/apidoc/org/xml/sax/Attributes.html#g
> So, no big deal but it definitely breaks unless the patch I will attach is 
> applied.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to