Namespace Issue
---------------
Key: JIBX-206
URL: http://jira.codehaus.org/browse/JIBX-206
Project: JiBX
Issue Type: Bug
Components: core
Affects Versions: JiBX 1.1.3
Environment: Window XP, Java
Reporter: D Prabhagar
Fix For: JiBX 1.1.3
Attachments: binding.xml, data.xml
The following exception thrown while using Namespace example,
org.jibx.runtime.JiBXException: Missing required attribute
"{message:mt:type}cust-num" (line 3, col 36)
at
org.jibx.runtime.impl.UnmarshallingContext.attributeText(UnmarshallingContext.java:1036)
at
org.jibx.runtime.impl.UnmarshallingContext.attributeInt(UnmarshallingContext.java:1199)
at org.jibx.starter.Person.JiBX_binding_unmarshalAttr_1_0(Person.java)
at org.jibx.starter.JiBX_bindingPerson_access.unmarshal()
at org.jibx.starter.Customer.JiBX_binding_unmarshal_1_0(Customer.java)
at org.jibx.starter.JiBX_bindingCustomer_access.unmarshal()
at
org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2537)
Find the attachement for binding.xml + data.xml.
As per requirement, attributes will not have any prefix append with in it.
Prefix will be appended with only root tag.
E.g; <mt:person cust-num="123456789"/> In this example "cus-num" attribute
doesn't have prefix.
--
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs