hello,

im facing a strange issue.

we have been using castor xml jars to convert
java--xml and viceversa. and so far its been working
great.
(both castor 0.952  and  castor 1.0.4  works fine for
us)

recently we added a few java classes that uses DOM4j
api, for xml manipulation and Xpaths, and we find that
the java--xml marshallinghas changed.. the diff is
that now after the marshalling we see a lot of 
xmlns=""  attributes added to xml elements ( which
were not there before).

Any one faced same issue before?  the dom4j jar has
purely org.dom4j.* stuff. 

im show marhalled xml  before and after  dom4j
addition.

before-->
<AddressRecordAGR><NumberOfRows>1</NumberOfRows><AddressValidationRecordAGR><TelephoneNumber>(817)
431-5644</TelephoneNumber><WireCenterID>20752</WireCenterID><MultiDwellingUnit>
</MultiDwellingUnit><WireCenterNumber>752</WireCenterNumber><Catalog>SW77</Catalog><State>TX</State><HouseNumberPrefix>
</HouseNumberPrefix><HouseNumber>1102</HouseNumber><HouseNumberSuffix>
</HouseNumberSuffix><StreetPrefix>
</StreetPrefix><StreetName>STARLIGHT</StreetName><StreetSuffix>
</StreetSuffix><Thoroughfare>CT</Thoroughfare><CommunityName>KELLER</CommunityName><ZipCode>76248</ZipCode><AddressID>947364</AddressID><TarCode>TXKEH0</TarCode><MandatoryClliCode>KLLRTXXADS0</MandatoryClliCode><RangeID>207001</RangeID><SubLocation>
              </SubLocation><SubLocation1>
</SubLocation1><SubLocation2>
</SubLocation2><SubLocation3>
</SubLocation3><TerritorialUnitStdAbbr>KELLER</TerritorialUnitStdAbbr><AreaCentralOffice>C1E</AreaCentralOffice><ProminentPlace>
</ProminentPlace><RateArea>01</RateArea><TerritorialUnitID>452</TerritorialUnitID><StreetID>99036</StreetID><SAL>2AN</SAL><RangeString>1102
STARLIGHT
CT</RangeString></AddressValidationRecordAGR></AddressRecordAGR>



***********************************************
after adding dom4j -->


<AddressRecordAGR
xmlns="http://vmw.verizon.com/nnos/csgw/ws/getLoopCapability/v3_1/xsd";><NumberOfRows
xmlns="">1</NumberOfRows><AddressValidationRecordAGR><TelephoneNumber
xmlns="">(817) 431-5644</TelephoneNumber><WireCenterID
xmlns="">20752</WireCenterID><MultiDwellingUnit
xmlns=""></MultiDwellingUnit><WireCenterNumber
xmlns="">752</WireCenterNumber><Catalog
xmlns="">SW77</Catalog><State
xmlns="">TX</State><HouseNumberPrefix
xmlns=""></HouseNumberPrefix><HouseNumber
xmlns="">1102</HouseNumber><HouseNumberSuffix
xmlns=""></HouseNumberSuffix><StreetPrefix
xmlns=""></StreetPrefix><StreetName
xmlns="">STARLIGHT</StreetName><StreetSuffix
xmlns=""></StreetSuffix><Thoroughfare
xmlns="">CT</Thoroughfare><CommunityName
xmlns="">KELLER</CommunityName><ZipCode
xmlns="">76248</ZipCode><AddressID
xmlns="">947364</AddressID><TarCode
xmlns="">TXKEH0</TarCode><MandatoryClliCode
xmlns="">KLLRTXXADS0</MandatoryClliCode><RangeID
xmlns="">207001</RangeID><SubLocation
xmlns=""></SubLocation><SubLocation1
xmlns=""></SubLocation1><SubLocation2
xmlns=""></SubLocation2><SubLocation3
xmlns=""></SubLocation3><TerritorialUnitStdAbbr
xmlns="">KELLER</TerritorialUnitStdAbbr><AreaCentralOffice
xmlns="">C1E</AreaCentralOffice><ProminentPlace
xmlns=""></ProminentPlace><RateArea
xmlns="">01</RateArea><TerritorialUnitID
xmlns="">452</TerritorialUnitID><StreetID
xmlns="">99036</StreetID><SAL
xmlns="">2AN</SAL><RangeString xmlns="">1102 STARLIGHT 
CT</RangeString></AddressValidationRecordAGR></AddressRecordAGR>


 
____________________________________________________________________________________
Want to start your own business? Learn how on Yahoo! Small Business 
(http://smallbusiness.yahoo.com) 


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to