W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2002

entities normalization feature

From: Arnold, Curt <Curt.Arnold@hyprotech.com>
Date: Tue, 30 Apr 2002 15:08:20 -0600
Message-ID: <4D62A7266F41D611B92C00E018C1C19C0DD558@thor.aeathtl.com>
To: "'www-dom@w3.org'" <www-dom@w3.org>
Elena Litani in
http://lists.w3.org/Archives/Public/www-dom-ts/2002Apr/0088.html, observed
that several tests in the DOM L1 test suite that use createEntityReference()
would fail if the test document was loaded with the "entities" normalization
feature set to false.

On reviewing the normalization features, there does not seem to be the
equivalent of JAXP's
javax.xml.parsers.DocumentBuilderFactory.setExpandEntityReferences(true) or
Xerces-C's default behavior.  That is a mode that would expand entity
references, but preserve entity nodes.

I don't see a strong use case for eliminating unreferenced entity nodes and
there does not seem to be a parallel normalization to eliminate unreferenced
notation declarations or unreferenced element definitions in ASLS.  Even if
there were, I would then suggest that there should still be an equivalent of
the currently deployed behavior.
Received on Tuesday, 30 April 2002 17:06:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:56 GMT