incorrect handling of namespace bound to multiple prefixes
----------------------------------------------------------

         Key: JIBX-94
         URL: http://jira.codehaus.org/browse/JIBX-94
     Project: JiBX
        Type: Bug

  Components: core  
    Versions: 1.0-RC2    
 Environment: jdk 1.5
    Reporter: Maros Ivanco


Unmarshaller does not handle correctly attributes when the same namespace is 
bound to multiple prefixes. Unmarshalling:

<config r:version="1.1" xmlns="urn:a" xmlns:r="urn:a"/>

causes:

Exception in thread "main" org.jibx.runtime.JiBXException: Missing required 
attribute "version" (line 2, col 141)
        at org.jibx.runtime.impl.UnmarshallingContext.attributeText(Unknown 
Source)

The namespace support seams to broken (?).

   A typical authoring style for version attribute (well, at least in schemas 
for j2ee configs) is to require its qualification (using form="qualified" in 
XML Schema). 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to