Skip to main content

Error 70 in XML Extensions

  • April 28, 2015
  • 4 replies
  • 0 views

Juan Urraburu

We are receiving an error from XML Extensions for RM/COBOL that is not in the list of possible errors:

Status: 0070
Error: 70[0] - in function: AddText


Regards

4 replies

Thomas Morrison
  • Participating Frequently
  • April 28, 2015

We are receiving an error from XML Extensions for RM/COBOL that is not in the list of possible errors:

Status: 0070
Error: 70[0] - in function: AddText


Regards

Hi Juan Manuel,

Can you give a bit more information, please.  Is this an import or export?  Using XSLT?  What version of XML Extensions?

Best regards,
Tom Morrison


Juan Urraburu
  • Author
  • Participating Frequently
  • April 28, 2015

We are receiving an error from XML Extensions for RM/COBOL that is not in the list of possible errors:

Status: 0070
Error: 70[0] - in function: AddText


Regards

The problem was in the XML EXPORT, the first parameter can not be a variable. That was causing the error.


We are receiving an error from XML Extensions for RM/COBOL that is not in the list of possible errors:

Status: 0070
Error: 70[0] - in function: AddText


Regards

This error means the XML parser / DOM manager (MSXML6 on WIndows, libxml2 on Unix) rejected an attempt to add a text node to an element, which can happen during an export of COBOL data.  A common cause would be string data that contains invalid characters, such as markup or control characters.  The XML TRACE statement can be used to turn on tracing to see what is happening.


We are receiving an error from XML Extensions for RM/COBOL that is not in the list of possible errors:

Status: 0070
Error: 70[0] - in function: AddText


Regards

Actually, the first parameter MUST be a variable specifying the COBOL data item to be exported.  (It is not a variable that contains the name of data item to be exported.)