Thank you Wolfgang,
it solved my problem,
eine dicken Dank ;-)
Alioum
Wolfgang Laun-2 wrote:
>
> Computing the indentation based on nesting level modulo 8 is
> intentional, although restricted to the (default) encoding UTF-8. To
> change the encoding, use
>
> marshaller.setProperty(Marshaller.JAXB_ENCODING, "US-ASCII");
>
> or similar.
>
> -W
>
>
> On Tue, Jun 23, 2009 at 6:23 PM, alioum <alioum_at_web.de> wrote:
>>
>>
>> Hi,
>> I just moved my application from JAXB1 to JAXB2 and i am facing an
>> important
>> issue. The Marshaller doesn't output the XML fragments from the depth 8
>> where the are supposed to be, instead at depth 0. Here is an the output i
>> get.
>> Of course i have
>> ms.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
>>
>> Thank you for any help.
>>
>> regards,
>>
>> Alioum
>> =============================================================================
>> <BBkIDF:BBkIDFBlkDirDeb
>> xmlns="urn:iso:std:iso:20022:tech:xsd:sdd:pacs.003.001.01"
>> xmlns:BBkIDF="urn:BBkIDF:xsd:BBkIDFBlkDirDeb">
>> <BBkIDF:SndgInst>AAAAAAAA</BBkIDF:SndgInst>
>> <BBkIDF:RcvgInst>AAAAAAAA</BBkIDF:RcvgInst>
>> <BBkIDF:FileRef>SEPAAUSL00000112</BBkIDF:FileRef>
>> <BBkIDF:SrvcId>COR</BBkIDF:SrvcId>
>> <BBkIDF:TstCode>P</BBkIDF:TstCode>
>> <BBkIDF:FType>IDF</BBkIDF:FType>
>> <BBkIDF:FDtTm>2008-02-10T00:00:00</BBkIDF:FDtTm>
>> <BBkIDF:NumDDBlk>1</BBkIDF:NumDDBlk>
>> <BBkIDF:NumRFCBlk>0</BBkIDF:NumRFCBlk>
>> <BBkIDF:NumREJBlk>0</BBkIDF:NumREJBlk>
>> <BBkIDF:NumRVSBlk>0</BBkIDF:NumRVSBlk>
>> <BBkIDF:NumRFRBlk>0</BBkIDF:NumRFRBlk>
>> <BBkIDF:pacs.003.001.01>
>> <GrpHdr>
>> <MsgId>SCL456789</MsgId>
>> <CreDtTm>2008-02-10T09:30:47</CreDtTm>
>> <NbOfTxs>1</NbOfTxs>
>> <TtlIntrBkSttlmAmt Ccy="EUR">498.95</TtlIntrBkSttlmAmt>
>> <IntrBkSttlmDt>2007-09-25</IntrBkSttlmDt>
>> <SttlmInf>
>> <SttlmMtd>CLRG</SttlmMtd>
>> <ClrSys>
>> <Prtry>GCL</Prtry>
>> </ClrSys>
>> </SttlmInf>
>> <InstgAgt>
>> <FinInstnId>
>> <BIC>AAAAAAAAAAA</BIC>
>> </FinInstnId>
>> </InstgAgt>
>> </GrpHdr>
>> <DrctDbtTxInf>
>> <PmtId>
>> <InstrId>123456</InstrId>
>> <EndToEndId>ABC99999555</EndToEndId>
>> <TxId>XY899929233A</TxId>
>> </PmtId>
>> <PmtTpInf>
>> <SvcLvl>
>> <Cd>SEPA</Cd>
>> </SvcLvl>
>> <LclInstrm>
>> <Cd>CORE</Cd>
>> </LclInstrm>
>> <SeqTp>FRST</SeqTp>
>> <CtgyPurp>LOAN</CtgyPurp>
>> </PmtTpInf>
>> <IntrBkSttlmAmt Ccy="EUR">498.95</IntrBkSttlmAmt>
>> <ChrgBr>SLEV</ChrgBr>
>> <ReqdColltnDt>2008-01-16</ReqdColltnDt>
>> <DrctDbtTx>
>> <MndtRltdInf>
>> <MndtId>ID00345678</MndtId>
>> <DtOfSgntr>2007-11-26</DtOfSgntr>
>> <AmdmntInd>false</AmdmntInd>
>> <AmdmntInfDtls>
>> <OrgnlMndtId>ID00567890</OrgnlMndtId>
>> <OrgnlCdtrSchmeId>
>> <Nm>Herr OrigCreditor</Nm>
>> <Id>
>> <PrvtId>
>> <OthrId>
>> <Id>OrigCreditorID</Id>
>> <IdTp>SEPA</IdTp>
>> </OthrId>
>> </PrvtId>
>> </Id>
>> </OrgnlCdtrSchmeId>
>> <OrgnlDbtrAcct>
>> <Id>
>> <IBAN>aa00a</IBAN>
>> </Id>
>> </OrgnlDbtrAcct>
>> <OrgnlDbtrAgt>
>> <FinInstnId>
>> <PrtryId>
>> <Id>SMNDA</Id>
>> </PrtryId>
>> </FinInstnId>
>> </OrgnlDbtrAgt>
>> </AmdmntInfDtls>
>> <ElctrncSgntr>signit this way @@@@</ElctrncSgntr>
>> </MndtRltdInf>
>> <CdtrSchmeId>
>> <Id>
>> <PrvtId>
>> <OthrId>
>> <Id>InitID</Id>
>> <IdTp>SEPA</IdTp>
>> </OthrId>
>> </PrvtId>
>> </Id>
>> </CdtrSchmeId>
>> </DrctDbtTx>
>> <Cdtr>
>> <Nm>Jani INIT</Nm>
>> <PstlAdr>
>> <AdrLine>initstr .10</AdrLine>
>> <AdrLine>Postfach 2331</AdrLine>
>> <Ctry>DE</Ctry>
>> </PstlAdr>
>> </Cdtr>
>> <CdtrAcct>
>> <Id>
>> <IBAN>DE74699699381917509014</IBAN>
>> </Id>
>> </CdtrAcct>
>> <CdtrAgt>
>> <FinInstnId>
>> <BIC>BBBBBBBBBBB</BIC>
>> </FinInstnId>
>> </CdtrAgt>
>> <UltmtCdtr>
>> <Nm>Andi init</Nm>
>> <Id>
>> <OrgId>
>> <BIC>HHHHHHHHHHH</BIC>
>> </OrgId>
>> </Id>
>> </UltmtCdtr>
>> <Dbtr>
>> <Nm>Jani ADDR</Nm>
>> <PstlAdr>
>> <AdrLine>addrstr. 10</AdrLine>
>> <AdrLine>Postfach 2332</AdrLine>
>> <Ctry>DE</Ctry>
>> </PstlAdr>
>> <Id>
>> <OrgId>
>> <BIC>GGGGGGGGGGG</BIC>
>> </OrgId>
>> </Id>
>> </Dbtr>
>> <DbtrAcct>
>> <Id>
>> <IBAN>DE74699699381917509014</IBAN>
>> </Id>
>> </DbtrAcct>
>> <DbtrAgt>
>> <FinInstnId>
>> <BIC>NNNNNNNNNNN</BIC>
>> </FinInstnId>
>> </DbtrAgt>
>> <UltmtDbtr>
>> <Nm>Jani addr</Nm>
>> </UltmtDbtr>
>> <Purp>
>> <Cd>LOAN</Cd>
>> </Purp>
>> <RmtInf>
>> <Strd>
>> <RfrdDocRltdDt>1967-08-13</RfrdDocRltdDt>
>> </Strd>
>> </RmtInf>
>> </DrctDbtTxInf>
>> </BBkIDF:pacs.003.001.01>
>> </BBkIDF:BBkIDFBlkDirDeb>
>>
>> ==============================================================================
>> --
>> View this message in context:
>> http://www.nabble.com/Marshaller-not-formatting-the-output-from-depth-8-tp24167362p24167362.html
>> Sent from the java.net - jaxb users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
>> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>>
>
>
--
View this message in context: http://www.nabble.com/Marshaller-not-formatting-the-output-from-depth-8-tp24167362p24217109.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.