on 05-27-2007 12:07 PM
Hi all,
I am facing a problem using the XML loader in xMII 12.0 when trying to load the following XML file:
<?xml version="1.0" encoding="UTF-8"?>
<Users>
<User>
<UserID>IMXOO</UserID>
<CWID>IMXOO</CWID>
<Prename>Michael</Prename>
<Surname>Otto</Surname>
<CreatedOn>2001-12-31T12:00:00</CreatedOn>
<CreatedBy>IMXOO</CreatedBy>
</User>
</Users>
I also tried a most basic XML file which shows the same error:
<?xml version="1.0"?>
<ausgabe>
<anzeige>Testausgabe</ausgabe>
</ausgabe>
To my understanding both files are well-formed, however xMII shows the error:
"The markup in the document following the root element must be well-formed."
Do I break any rules concerning the markup? IE loads the files without showing any errors.
Best Regards
Michael
Michael,
What is the path you are using in the configure dialog of the XMLLoader action block (with 12.0 http://localhost doesn't work the same as it did in 11.5)? Assuming you have the xml files saved in the WEB section of a project, have you tried dragging the XML file from the catalog tree into a transaction. This drag-n-drop should create an xml loader action block for you.
Regards,
Jeremy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jeremy,
again you gave the key to the solution. When the error occured, I have set up the following path within the xMII workbench:
"Catalog-Tab"
<server>
> Sandbox
> XML
myFile.xml
When I tried to load the mxFile.xml with the XML Loader, I got the error described above (XML not well-formed). I also cannot drag the file into a transaction in the workbench. I have manually configured the XML Loader with "http://<server:port>/XMII/CM/Sandbox/XML/mxFile".
Now using your hint I have changed to the "Web-Tab":
"Web-Tab"
<server>
> Sandbox
> WEB
> XML
myFile.xml
Then all works fine, when I now drag the file into the transaction. As you described, an XML Loader action is created with configuration "db://Sandbox/WEB/XML/myFile.xml" and the XML is loaded correctly.
Thanks for your help!
Best regards
Michael
Michael - I've also seen some very strange behavior with loading XML data in version 12. Some of the transactions that I migrated from version 11.5 I can't open in version 12, with similar errors to what you are seeing. I've reported a bug, but you should also do the same. The more visible, the higher priority a fix will be.
- Rick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
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.