How to convert the character variable to memptr variable?If possible quote an simple example please.
Thanks Brian,
character to longchar and then to memptr through copy-lob is giving me error (9082) i.e. X-NODEREF or X-DOCUMENT <method-name> got an error: <xml-exception>. (9082) in xml parsing.
Thanks Brian,
character to longchar and then to memptr through copy-lob is giving me error (9082) i.e. X-NODEREF or X-DOCUMENT <method-name> got an error: <xml-exception>. (9082) in xml parsing.
Flag this post as spam/abuse.
It would also help to know what version of Progress.
it is OpenEdge 11.4. While hdoc:load("memptr",<memptrvariable>,FALSE) is giving the error 9082. Definitely something problem with memptr variable.
hDoc is a X-DOCUMENT handle. i.e create X-DOCUMNET hDoc.
it is OpenEdge 11.4. While hdoc:load("memptr",<memptrvariable>,FALSE) is giving the error 9082. Definitely something problem with memptr variable.
Flag this post as spam/abuse.
Why go such a long route? You can read the LONGCHAR directly.
hDoc:LOAD("LONGCHAR",longcharvar,FALSE).
But 9082 indicates that there is something wrong with the XML. You can write the lonchar variable to a text file and inspect it with a text editor and see if you can find the reason.
COPY-LOB loncharvar TO FILE "filename.xml".
Thanks Guys,
There was an extra space included in the starting of the XML that is why it is creating the problem.
Now it is working fine.