Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums
-
JiBX Messy Namespaces Cleanup?
https://www.eclipse.org/forums/index.php/mv/msg/180626/573011/#msg_573011
<?xml version="1.0" encoding="iso-8859-1"?>
<EMPORG2:DemographicResponse xmlns:EMPORG2="http://dsads.com/Demographic">
<Common:Header xmlns:Common="http://dsads.com/EMPIOrgCommon" sending="EMPI" receiving="Cesar" timeStamp="20100427091251"/>
<Common:Status xmlns:Common="http://dsads.com/EMPIOrgCommon" code="OK" count="7"/>
<EMPORG2:EID value="479616" score="4.8">
<EMPORG2:DemographicOrganization>
<Common:ID xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" source="MIDS" value="IHA001-07636991600"/>
<Common:EntityDate xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" code="UPDATEDT" dateValue="2006-03-24"/>
<Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon" status="I" code="ALTID1" attributeValue="07636991600"/>
<Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" code="ALTID1" attributeValue="A0219240600"/>
<Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" code="CARRIER" attributeValue="IHA001"/>
<Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" code="MEMBERID" attributeValue="07636991600"/>
</EMPORG2:DemographicOrganization>
<EMPORG2:DemographicOrganization>
<Common:ID xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" source="POWER" value="80011T-07636991600"/>
<Common:ID xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" source="SSA" value="076369916"/>
<Common:EntityName xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" code="NAME" onmLast="DUVALL"/>
<Common:EntityAddress xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" code="HOMEADDR" streetLine1="5263 TERRI LN" streetLine2="" city="NORTH TONAWANDA" state="NY" zipCode="14120"/>
<Common:EntityPhone xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" code="HOMEPHONE" phoneArea="" phoneNumber="(716) 743-8208" phoneExtention=""/>
<Common:EntityDate xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" code="BIRTHDT" dateValue="1944-11-01"/>
<Common:EntityDate xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" code="UPDATEDT" dateValue="2003-09-23"/>
<Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" code="GROUP" attributeValue="80011T"/>
<Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" code="ALTID1" attributeValue="A0219240600"/>
<Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" code="RELATION" attributeValue="1"/>
<Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" code="MEMBERID" attributeValue="07636991600"/>
<Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A" code="GENDER" attributeValue="M"/>
</EMPORG2:DemographicOrganization>
</EMPORG2:EID>
</EMPORG2:DemographicResponse>]]>
Bill
2010-04-28T12:24:09-00:00
-
Re: JiBX Messy Namespaces Cleanup?
https://www.eclipse.org/forums/index.php/mv/msg/180626/573036/#msg_573036
On 4/28/10 2:24 PM, Bill wrote:
> My JiBX is good. I have 3 schemas. The only thing that drives me nuts is
> the cosmetics. These responses I run can have like 50 EID in the XML.
> See how it doesn't declare the namespaces at the top but it declares it
> for each field. It is a mess. Is there a way to fix this?
>
>
> <?xml version="1.0" encoding="iso-8859-1"?>
> <EMPORG2:DemographicResponse xmlns:EMPORG2="http://dsads.com/Demographic">
> <Common:Header xmlns:Common="http://dsads.com/EMPIOrgCommon"
> sending="EMPI" receiving="Cesar" timeStamp="20100427091251"/>
> <Common:Status xmlns:Common="http://dsads.com/EMPIOrgCommon" code="OK"
> count="7"/>
> <EMPORG2:EID value="479616" score="4.8">
> <EMPORG2:DemographicOrganization>
> <Common:ID xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A"
> source="MIDS" value="IHA001-07636991600"/>
> <Common:EntityDate xmlns:Common="http://dsads.com/EMPIOrgCommon"
> status="A" code="UPDATEDT" dateValue="2006-03-24"/>
> <Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon"
> status="I" code="ALTID1" attributeValue="07636991600"/>
> <Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon"
> status="A" code="ALTID1" attributeValue="A0219240600"/>
> <Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon"
> status="A" code="CARRIER" attributeValue="IHA001"/>
> <Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon"
> status="A" code="MEMBERID" attributeValue="07636991600"/>
> </EMPORG2:DemographicOrganization>
> <EMPORG2:DemographicOrganization>
> <Common:ID xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A"
> source="POWER" value="80011T-07636991600"/>
> <Common:ID xmlns:Common="http://dsads.com/EMPIOrgCommon" status="A"
> source="SSA" value="076369916"/>
> <Common:EntityName xmlns:Common="http://dsads.com/EMPIOrgCommon"
> status="A" code="NAME" onmLast="DUVALL"/>
> <Common:EntityAddress xmlns:Common="http://dsads.com/EMPIOrgCommon"
> status="A" code="HOMEADDR" streetLine1="5263 TERRI LN" streetLine2=""
> city="NORTH TONAWANDA" state="NY" zipCode="14120"/>
> <Common:EntityPhone xmlns:Common="http://dsads.com/EMPIOrgCommon"
> status="A" code="HOMEPHONE" phoneArea="" phoneNumber="(716) 743-8208"
> phoneExtention=""/>
> <Common:EntityDate xmlns:Common="http://dsads.com/EMPIOrgCommon"
> status="A" code="BIRTHDT" dateValue="1944-11-01"/>
> <Common:EntityDate xmlns:Common="http://dsads.com/EMPIOrgCommon"
> status="A" code="UPDATEDT" dateValue="2003-09-23"/>
> <Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon"
> status="A" code="GROUP" attributeValue="80011T"/>
> <Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon"
> status="A" code="ALTID1" attributeValue="A0219240600"/>
> <Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon"
> status="A" code="RELATION" attributeValue="1"/>
> <Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon"
> status="A" code="MEMBERID" attributeValue="07636991600"/>
> <Common:EntityAttr xmlns:Common="http://dsads.com/EMPIOrgCommon"
> status="A" code="GENDER" attributeValue="M"/>
> </EMPORG2:DemographicOrganization>
> </EMPORG2:EID>
> </EMPORG2:DemographicResponse>
>]]>
Carlos Sanchez
2010-04-28T14:04:39-00:00