Re: [xsl] Entity references

Subject: Re: [xsl] Entity references
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 08 Jan 2013 12:31:28 +0000
On 08/01/2013 12:16, Michel Hendriksen wrote:
I can add an EntityResolver, but that can only redirect to an
exisitng DTD. When redirecting to an empty DTD I get messages on
undefined elements (it 'finds' a DTD but elements in the XML are not
defined in there.)


surely it only does that if validating?
Can't you redirect any dtd to one standard (empty) dtd and not validate,
then as far as xml is concerned the external dtd reference is satisfied
so any undefined entity should be a fatal error.

David


-- google plus: https:/profiles.google.com/d.p.carlisle

________________________________________________________________________
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