Kbase P130504: 4GL/ABL: Error: 'Expected an attribute name (Line nn, Col nn)' parsing an XML file with SAX-READER O
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/15/2008 |
|
Status: Unverified
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.1C
OpenEdge 10.1B
SYMPTOM(s):
4GL/ABL: Error: 'Expected an attribute name (Line nn, Col nn)' parsing an XML file with SAX-READER Object.
A message box is displayed with the error: Expected an attribute name (Line 75, Col 76) running code to parse an XML file using the SAX-READER Object
The length of the line, including the blank leading indentation spaces is 75.
The Signature element in the offending XML document is written as as follows:
<Signaturexmlns="'">http://www.w3.org/2000/09/xmldsig#">
CAUSE:
The XML document has a syntax error. The XML Signature element is concatenated to its xmlns namespace .
FIX:
Separate the Signature element name from its namespace in the XML document. Write the Signature element in the XML document as follows:
<Signature xmlns="'">http://www.w3.org/2000/09/xmldsig#">