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

Gary Stephenson wrote
> My question is:  Given that the reference to "bad-pe" is _not_ to be
> (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"?
> this test is predicated on an affirmative answer, but is it correct?


I can see no reason why an XML processor should attempt to read an external
entity that is not referenced.  I think the XML recommendation supports this
statement.  For a start, only validating processors must read external
entities.  Secondly, the XML recommendation in section 4.4.3. [1] states:

"When an XML processor recognizes a reference to a parsed entity, in order
to validate the document, the processor must include its replacement text."

So, I suggest you only need to read external entities when they are


Rob Lugt
ElCel Technology

[1] http://www.w3.org/TR/REC-xml#include-if-valid