cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to display tree view

Former Member
0 Kudos

Hi friends,

When iam test my mapping programme this Error will generated.

Unable to display tree view; Error when parsing an XML document (Content is not allowed in prolog.)

Kindly help me.

Thanks

Hari

Accepted Solutions (0)

Answers (2)

Answers (2)

PriyankaAnagani
Active Contributor
0 Kudos

Hi,

Are doing java mapping....This error is generated when characters are located before the XML document type declaration. First characters of an XML document should look like this: <?xml version="1.0" encoding="utf-8"?>

Please make sure you are doing parsing correctly and the specified line presents at the begining...

Regards

Priyanka

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Click the SRC icon to see what your output really looks like. And then start troubleshooting from there.

Regards,

Mark

Former Member
0 Kudos

Mark,

Can you explain clearly.

Hari

Former Member
0 Kudos

Hi,

No, Characters are located after the XML document type declaration.

Hari

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Whenever you test a mapping in the test tab, you have the option to display the output in tabular tree view (grid icon) or source text view (src icon)... The tabular tree is the first icon on the Result window, the source text is the second icon.

PriyankaAnagani
Active Contributor
0 Kudos

Hi hari,

As Mark sujjested, open the source view of the mapping result and try to paste the target document source code so that we can help you.

Thanks

Priyanka