Hi, Are you in a position to supply us with a short tst case that enables us to reply your problem ? If yes, can you please open a new issue at http://jira.codehaus.org/ and attach all relevant files.
Thanks Werner > -----Original Message----- > From: no985 [mailto:[EMAIL PROTECTED] > Sent: Freitag, 03. November 2006 18:44 > To: [email protected] > Subject: [castor-user] Problem with castor marshalling after > dom4j-1.6.1.jar was introduced into the app > > 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><AddressValida > tionRecordAGR><TelephoneNumber>(817) > 431-5644</TelephoneNumber><WireCenterID>20752</WireCenterID><M > ultiDwellingUnit> > </MultiDwellingUnit><WireCenterNumber>752</WireCenterNumber><C > atalog>SW77</Catalog><State>TX</State><HouseNumberPrefix> > </HouseNumberPrefix><HouseNumber>1102</HouseNumber><HouseNumberSuffix> > </HouseNumberSuffix><StreetPrefix> > </StreetPrefix><StreetName>STARLIGHT</StreetName><StreetSuffix> > </StreetSuffix><Thoroughfare>CT</Thoroughfare><CommunityName>K ELLER</CommunityName><ZipCode>76248</ZipCode><AddressID>947364</AddressI D><TarCode>> TXKEH0</TarCode><MandatoryClliCode>KLLRTXXADS0</MandatoryClliC > ode><RangeID>207001</RangeID><SubLocation> > </SubLocation><SubLocation1> > </SubLocation1><SubLocation2> </SubLocation2><SubLocation3> > </SubLocation3><TerritorialUnitStdAbbr>KELLER</TerritorialUnit > StdAbbr><AreaCentralOffice>C1E</AreaCentralOffice><ProminentPlace> > </ProminentPlace><RateArea>01</RateArea><TerritorialUnitID>452 > </TerritorialUnitID><StreetID>99036</StreetID><SAL>2AN</SAL><R > angeString>1102 > STARLIGHT > CT</RangeString></AddressValidationRecordAGR></AddressRecordAGR> > > > > *********************************************** > after adding dom4j --> > > > <AddressRecordAGR > xmlns="http://vmw.verizon.com/nnos/csgw/ws/getLoopCapability/v > 3_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 > > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

