Subject: Re: [xsl] Entity references|
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 08 Jan 2013 12:31:28 +0000
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.
-- 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.