Consultor Eletrônico



Kbase P115097: Wrong number of Text nodes within EntityReference after XML DOM parse
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1A
Progress 9.1E

SYMPTOM(s):

Too many Text children nodes to EntityReference node in DOM tree

XML entity is repeated in the source text

One more Text children node appears each time entity is repeated in XML

DOM tree for <example>&uuml;&uuml;&uuml;</example> is:
Element
+--EntityReference
| +--Text (ü)
|
+--EntityReference
| +--Text (ü)
| +--Text (ü)
|
+--EntityReference
+--Text (ü)
+--Text (ü)
+--Text (ü)

FIX:

This is a known issue being investigated by Development.
In order to work around this issue, ignore but the first Text sub-node of every EntityReference node in the DOM tree.