Re: [xsl] Entity references

Subject: Re: [xsl] Entity references
From: Michel Hendriksen <michel.hendriksen@xxxxx>
Date: Fri, 4 Jan 2013 15:57:06 +0100
Ok makes sense.

What you are actually saying is that there is no way you can force
this to be an error, unless having a processor that would be willing
to do so?

So an option could be to have something like a catalog that could
supply a small DTD to validate against. Like containing a root element
and allow any (mixed) content.


On Fri, Jan 4, 2013 at 3:34 PM, David Carlisle <davidc@xxxxxxxxx> wrote:
> On 04/01/2013 14:00, Michel Hendriksen wrote:
>> When there is a reasoble DTD however, we
>> don't get any error messages. Can anyone explain this?
> In a document without any DTD, a document with only an internal DTD subset
> which contains no parameter entity references, or a document with "
> standalone='yes'
> then an entity reference means that the document is not well formed and so
> it is a "fatal error" from which an xml parser is not allowed to recover,
> if there is an external  dtd subset that has not been read then a reference
> is a validity error which means that a non validating parser id not obliged
> to report it.
> David
> ________________________________________________________________________
> The Numerical Algorithms Group Ltd is a company registered in England
> and Wales with company number 1249803. The registered office is:
> Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
> This e-mail has been scanned for all viruses by Star. The service is
> powered by MessageLabs.
> ________________________________________________________________________

Current Thread