on 10-05-2009 7:07 AM
Hello ,
I am working with xmii 12.0 .
When i give fallowing valid xml as input to either "xml loader " or as "xslt input" i encounter the the error "mark up in the document fallowing the root element is not well formed. "
<?xml version="1.0"?>
<Table>
<Rowset>
<Row>name</Row>
</Rowset>
</Table>
Please give inputs to resolve the error.
Polaku,
we also use MII 12.0. The XML Loader could load the xml you copied above using address "db://<folder>/<xmlfile>" without problems.
Where is your file located? On MII WEB tab or outside MII? Maybe you need to add credentials if you load the file from another server? If the file is in MII, did you use "web://" or "db://" as prefix? If "web://", try "db://".
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Michael,
Exactly, I am using a JCO interface to call a function , and its giving response like
<?xml version="1.0" encoding="UTF-8"?>
<Z_XMII_VALUATED_STOCK>
<TABLES><INT_STOCK><item><MTBEZ>Fin.Products W/ Purch.</MTBEZ><QUANTITY>0</QUANTITY></item><item><MTBEZ>Semi-finished products</MTBEZ><QUANTITY>0</QUANTITY></item></INT_STOCK></TABLES>
</Z_XMII_VALUATED_STOCK>
then , i used a xslt tranformation to change the respose, where i faced the error "markup fallowing the root element is not well formed"
Further i tried to manipulate the simple xml using xml loader where i faced the same error.
Please suggest me.
Polaku,
have a look at the following thread: [Markup error and credentials|http://forums.sdn.sap.com/click.jspa?searchID=32438178&messageID=6946356].
Have you seen my questions above? Where do you get your simple xml file from? In your second post you said "manipulating the simple xml fails". Can you read the file with the XML loader and the error occurs later?
How does your XSL look like?
Which exact version of MII 12.0 do you use?
Michael
Polaku,
just a thought: you said you have used the URL to load it. Have you tried to drag the xml file into an empty sequence of a workbench transaction and then generate a sample? Do you get the same error then or does it work correctly?
I get the "markup error" if I use the URL without credentials...I can generate the file successfully if I use the prefix "db://" instead of "http://<server>:<port>/..." or if I use "http://<server>:<port>/..." with credentials.
Michael
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.