Details
-
Bug
-
Status: Resolved
-
Resolution: Incomplete
-
2.3.0
-
None
-
None
-
Operating System: Linux
Platform: PC
-
24256
Description
following bug occures with DOMPrint sample:
— start of test-xml —
<?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE test [
<!ELEMENT bar EMPTY>
<!ELEMENT test (foo)*>
<!ELEMENT foo (#PCDATA)>
<!ENTITY x "bar">
]><test>
<foo>&x;</foo>
<foo>&x;</foo>
<foo>&x;</foo>
<foo>&x;</foo>
</test>
— end of test-xml —
DOMPrint gives the following result:
— start of DOMPrint result —
<?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE test [
<!ELEMENT bar EMPTY>
<!ELEMENT test (foo)*>
<!ELEMENT foo (#PCDATA)>
<!ENTITY x "bar">
]><test>
<foo>bar</foo>
<foo>barbar</foo>
<foo>barbarbar</foo>
<foo>barbarbarbar</foo>
</test>
— end of DOMPrint result —
the entity-expansion gets multiplied each other time
Problem occures also with xerces 2.2.0 but not with 2.1.0
i don't know if it's only a problem of DOMPrint.
robert