DOMNormalizer doesn't pass content of entity references to the validator.
-------------------------------------------------------------------------

                 Key: XERCESJ-1236
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1236
             Project: Xerces2-J
          Issue Type: Bug
          Components: DOM (Level 3 Core)
    Affects Versions: 2.9.0
            Reporter: Michael Glavassevich


If Document.normalizeDocument() is called with the "validate" parameter set to 
true and the "entities" parameter set to true, Xerces will fail to pass the 
content of entity references to the validator and will also fail to check 
well-formedness of the content of entity references if the "well-formed" 
parameter is set to true.

There's a comment in the DOMNormalizer which says:
    // REVISIT: traverse entity reference and send appropriate calls to the 
validator
    // (no normalization should be performed for the children).

Obviously unfinished work which slipped off the radar.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to