OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More Conformance Test suite questions

> //  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