Kbase P175177: Error 14620 when adding attribute named 'xml:lang' to CXML document with SAX-WRITER
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/12/2010 |
|
Status: Unverified
SYMPTOM(s):
Creating CXML document using SAX-WRITER
Added attribute named "xml:lang" to element
STRICT error: unresolved namespace 'xml'. (14620)
END-ELEMENT method invalid while WRITE-STATUS is WRITE-ERROR. (14609)
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.2x
CAUSE:
By default the SAX-WRITER follows the strict mode for building XML documents and this mode throws an error when an attempt is made to build a document that is not well formed XML.
FIX:
Set the SAX-WRITER objects STRICT attribute to FALSE after creating the SAX-WRITER object and before you do anything else with the object.