ENTITIES attribute for sun/not-wf/encoding07.xml

I believe I have found a minor problem with the description of the 
sun/not-wf/encoding07.xml test in the sun/sun-not-wf.xml file.

The description of the test is:

<TEST URI="not-wf/encoding07.xml" ID="encoding07" TYPE="not-wf" 
SECTIONS="4.3.1 [77]" ENTITIES="parameter">
    Text declarations (which optionally begin any external entity)
    are required to have "encoding=...". </TEST>

I believe that the ENTITIES="parameter" is wrong because the test does 
not even contain any parameter entity declarations or references.  It 
does however have an external general entity declaration and a reference 
to it. So I believe the ENTITIES attribute should be set to "general".

Joe Schafer
joe@joeschafer.com

P.S.  Here's the test files for fast reference.

encoding07.xml:
<!DOCTYPE root [
    <!ELEMENT root EMPTY>

    <!--
    reusing this entity; it's got no markup decls,
    so it's legal except for a missing "encoding=...".
    -->
    <!ENTITY empty SYSTEM "dtd07.dtd">
]>
<root>&empty;</root>

dtd07.dtd:
<?xml version="1.0"?>
<!--
    "encoding=..." is mandatory in text declarations.

    All external entities (parameter, general) have optional text
    declarations; only the document entity may omit this declaration.
-->

Received on Saturday, 20 August 2005 18:54:29 UTC