[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Resolved: (XMLBEANS-187) sax spec requires local name
From:       "Radu Preotiuc-Pietro (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2008-03-27 22:56:24
Message-ID: 882152022.1206658584528.JavaMail.jira () brutus
[Download RAW message or body]


     [ 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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic