Re: [xsl] Entity references

Subject: Re: [xsl] Entity references
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 04 Jan 2013 14:34:08 +0000
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