Hi everyone,
I am trying to run XML-SAX from an UTF-8 string and cannot make it to work.
Does anyone know how this could be achieved?
Here the elements:
D XMLin 65535 varying
/free
// Test example
//
// Here below the XML transcription in UTF-8 for test (you can use http://rishida.net/tools/conversion/ for it)
XMLin = x'3C3F786D6C2076657273696F6E3D22312E302220656E636F 6469'
+ x'6E673D225554462D38223F3E3C4974656D206E616D653D22 4954'
+ x'454D3031223E3C2F4974656D3E0A';
XML-SAX %Handler(MyHandler : myCommArea)
%XML( XMLin : 'doc=string ccsid=1208');
I tried different things but always get the xml-sax error 302 immediately (msgid RNX0351).
Thank you for any help.
Pascal
I am trying to run XML-SAX from an UTF-8 string and cannot make it to work.
Does anyone know how this could be achieved?
Here the elements:
D XMLin 65535 varying
/free
// Test example
//
HTML Code:
<?xml version="1.0" encoding="UTF-8"?><Item name="ITEM01"></Item>
XMLin = x'3C3F786D6C2076657273696F6E3D22312E302220656E636F 6469'
+ x'6E673D225554462D38223F3E3C4974656D206E616D653D22 4954'
+ x'454D3031223E3C2F4974656D3E0A';
XML-SAX %Handler(MyHandler : myCommArea)
%XML( XMLin : 'doc=string ccsid=1208');
I tried different things but always get the xml-sax error 302 immediately (msgid RNX0351).
Thank you for any help.
Pascal
Comment