Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IAM (Eclipse Integration for Apache Maven) » JiBX Messy Namespaces Cleanup?
JiBX Messy Namespaces Cleanup? [message #573011] Wed, 28 April 2010 12:24 Go to next message
Bill  is currently offline Bill
Messages: 5
Registered: March 2010
Junior Member
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>
Re: JiBX Messy Namespaces Cleanup? [message #573036 is a reply to message #573011] Wed, 28 April 2010 14:04 Go to previous message
Carlos Sanchez is currently offline Carlos Sanchez
Messages: 114
Registered: July 2009
Senior Member
wrong newsgroup?


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>
>
Previous Topic:JiBX Messy Namespaces Cleanup?
Next Topic:Eclipse IAM WTP support, now EARs too
Goto Forum:
  


Current Time: Sun Sep 21 12:22:25 GMT 2014

Powered by FUDForum. Page generated in 0.12418 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software