cancel
Showing results for 
Search instead for 
Did you mean: 

Sender File contains extra characters

Former Member
0 Kudos

Hi Gurus,

I am configuring a file to file scenario.

Sender side I have an XML file. I have got the XSD file also for this XML file but the problem is the XML file contains some extra character which is not there in the XSD.

Here is the Sender XML file example:

######################################

- <ns0:MnSDocument xmlns:ns0="marksspencer.com/is/2009/schemas/envelope/">

- <ns0:Header>

<MessageId>4D8C7D97C8800BD0E10080000A9044EC</MessageId>

<BatchRecordCount>1</BatchRecordCount>

</ns0:Header>

- <ns0:Payload>

- <ns0:ZMDE_WBBDLD05EXT01>

######################################

Here is the XSD file:

######################################

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns0="marksspencer.com/is/2009/schemas/envelope/">

<xsd:element name="MnSDocument">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="Header" type="HeaderType"/>

<xsd:element name="Payload" type="PayloadType"/>

...

...

######################################

Now during mapping test in ESR all the fields are giving red color because there is extra "ns0" in the sender XML.

Can you give some idea on how can I get rid of this issue?

What should I need to change in XSD file?

Thanks in advance.

Regards,

Vikash

View Entire Topic
Former Member
0 Kudos

Hi Vikash

Use XMLAnonymizerBean

Regards.