Hi Kevin,
The record is read from the file without difficulty and is a standard
multi-attributed text string. The STATUS gets returned as -1 from the
XDOMOpen even though the record is properly formed XML. The error code is
30 and the message is:
U2 uses external libraries for XML parsing so you must have whitespace
(CR/LF) not attribute marks in your string.
Fatal error at file 'U2XMLMemoryBufferID', line 1 column 39. Message: An
exception occurred! Type: TranscodingException, Message: An invalid
multi-byte source text sequence was encountered!
Its not unidata complaining, its the XML parser which has no idea what
attribute marks are.
Try adding
ITEM.IMPORTS = CONVERT(@AM:@VM:@SVM, CHAR(10):CHAR(10):CHAR(10),
ITEM.IMPORTS)
before you call XDOMOpen and see if that helps.
regards,
Craig
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/