Conflicting element namespaces error incorrectly reported
---------------------------------------------------------
Key: JIBX-437
URL: http://jira.codehaus.org/browse/JIBX-437
Project: JiBX
Issue Type: Bug
Components: core
Affects Versions: JiBX 1.2.3
Reporter: Archie Cobbs
When trying to compile this binding:
{noformat}
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $Id: status.xml 6 2010-09-28 22:07:31Z archie.cobbs $ -->
<binding package="org.dellroad.jibxbindings.pidf"
xmlns:pidf="urn:ietf:params:xml:ns:pidf"
xmlns:gp="urn:ietf:params:xml:ns:pidf:geopriv10">
<include path="lo/geoPriv.xml"/>
<mapping abstract="true" type-name="pidf:status"
class="org.dellroad.jibxbindings.pidf.Status">
<namespace uri="urn:ietf:params:xml:ns:pidf" default="elements"
prefix="pidf"/>
<namespace uri="urn:ietf:params:xml:ns:pidf:geopriv10"
default="elements" prefix="gp"/>
<value name="basic" ns="urn:ietf:params:xml:ns:pidf" field="basic"
usage="optional" enum-value-method="getXMLValue"/>
<structure name="geopriv" ns="urn:ietf:params:xml:ns:pidf:geopriv10"
field="geoPriv" map-as="gp:geopriv" usage="optional"/>
</mapping>
</binding>
{noformat}
JiBX generates this error:
{noformat}
Error: Conflicting element namespaces; on namespace element at (line 10, col
96, in status.xml)
{noformat}
The error is incorrect: the two namespaces have different prefixes. Therefore
this is a bug.
This bug does *not* occur in JiBX 1.2.2.
--
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
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs