You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by "Cole, Kristopher A. (LNG-DAY)" <kr...@lexisnexis.com> on 2010/01/12 15:06:04 UTC
load-dtd-grammar in xalan?
I'm using a xalan transformer and finding that the data is getting
populated with default values from my DTD pre-transformation.
Is there a way to turn off this feature like xerces does with setting
load-dtd-grammar to false?
Kristopher Cole
LexisNexis
Re: load-dtd-grammar in xalan?
Posted by Michael Ludwig <mi...@gmx.de>.
Cole, Kristopher A. (LNG-DAY) schrieb am 12.01.2010 um 09:06:04 (-0500):
> I'm using a xalan transformer and finding that the data is getting
> populated with default values from my DTD pre-transformation.
>
> Is there a way to turn off this feature like xerces does with setting
> load-dtd-grammar to false?
An XSLT processor does not itself build the input (and source) tree, but
relies on the XML parser for that purpose. So the way to achieve what
you want is to configure the parser appropriately and use it.
Hope this helps.
--
Michael Ludwig