Re: [xslt] xsltproc options
- From: Daniel Veillard <veillard redhat com>
- To: John Fleck <jfleck inkstain net>, xslt gnome org,camille mandrakesoft com
- Subject: Re: [xslt] xsltproc options
- Date: Tue, 8 Jan 2002 11:20:27 -0500
On Tue, Jan 08, 2002 at 09:11:38AM -0700, John Fleck wrote:
> On Tue, Jan 08, 2002 at 10:49:52AM -0500, Daniel Veillard wrote:
> > XPath processing requires to open the DTD associated to the document
> > being transformed (if available) for example to extend the data model with
> > defaulted attributes, etc... Using this option (not recommneded unless
> > having a good reason) avois this phase and the XML processor does not
> > load the DTD associated with the document.
> > If you are doing DocBook processing or similar document handling it's
> > really not a good idea to use it.
> >
>
> Daniel - Kick me if I'm not understanding this right, but it looks as
> though xsltproc is setting xmlLoadExtDtdDefaultValue *before* it reads
> the command line options, so --novalid isn't having an effect. Testing
> xsltproc compiled with the attached patch allowed me to invoke the
> expected --novalid behavior - that is, a gob of errors when trying to
> do a transformation on a DocBook document.
Dohhhhh ... you're perfectly right !
Thanks, applied !
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]