cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
371
Views
0
Helpful
2
Replies

CRA Extract XML step SAX Error

sbillingsley
Level 1
Level 1

I hope someone has figured this out...

I'm trying to use the Extract XML Document Data step and I keep getting a "org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed."

I am doing the following:

I have two variables, bigstring (string) and xdoc (document)

where bigstring is U"<?xml version=\"1.0\" standalone=\"yes\"?><document><Resource>ed</Resource></document>"

set xdoc= TEXT[bigstring] -- (when I debug it shows TEXT[XT[bigstring] )

xdoc = Create XML Document (Source Document = xdoc)

resourceName = Extract XML Document Date (Document = xdoc, XML Path = "/document/Resource")

and on the last step it fails.

any ideas?

2 Replies 2

bbaley
Level 3
Level 3

I think you should seek some help from the cisco Developer support program.

http://www.cisco.com/univercd/cc/td/doc/product/voice/vpdd/cdd/3_1/tapi/tap_pref.htm#xtocid16

With respect, what is the purpose of these forums if the standard response is to take it up with the Developer support program?