Hi,
First of all good work guys…Automize 2 is great. I am evaluation Automise 2 right now. I have one question regarding XML Action : Read XML Value to Variable…
Is there a place Automise could look for the DTD/XSD files? In order for the Read XML Value to work with an xpath query I had to copy the Test.dtd file to the same location as the XML file I was reading. This XML is well formed and has the following in the header:
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
!DOCTYPE Test SYSTEM "Test.dtd"
Some of the XML files reference an URI to find the DTD/XSD’s.
My xpath expression was:
/Test/Payload[1]/Message[1]/DeliveryMessage[1]/DeliveryMessageHeader[1]/DeliveryMessageNumber[1]
Hi Ron,
We can’t make Automise search for DTDs in other places, but what I’ve done instead is added options to disable “Validate on parse” and/or “Resolve external definitions” on each XML action. If you disable both these options, the XML Parser won’t care if it can’t find the DTD file.
Here’s the Automise 2 test build with the new feature:
http://www.automise.com/downloads/automise/200/AT200_85.exe
Please let us know how you go.
- Angus