[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More Conformance Test suite questions
- From: David.L.Eiland@fritolay.com
- To: Gary Stephenson <garys@ihug.com.au>, xml-dev@lists.xml.org
- Date: Tue, 26 Jun 2001 13:34:41 -0500
> // pe01.ent
>
> This is not a legal parameter entity, because
> it does not match the "markupdecl" production.
>
> // end of pe01.ent
>
> My question is: Given that the reference to "bad-pe" is _not_ to be expanded
> (due to it's appearance in an attribute value), is a validator required to
> open and attempt to parse the malformed external entity "pe01.ent"? Obviously
> this test is predicated on an affirmative answer, but is it correct?
Go back and look closer at the test classification: "error", meaning
there's something strange about it that parsers are NOT required to
report. (Just like non-deterministic content models ...)
In this case, the test predates resolution of the PE-in-attributes issues
from the W3C process, and was intended to address text in the XML
spec referenced by that test metadata (in section 2.8). Likely a better
way to test that requirement would be to put the PE reference into
a conditional section that's not expanded.
- Dave
------------------------------------------------------------------
The xml-dev list is sponsored by XML.org, an initiative of OASIS
<http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: xml-dev-request@lists.xml.org