OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Do docbook Stylesheet access the Internet


Note that one way around this is to completely remove the DOCTYPE
declarations from all your document instances. They aren't
strictly necessary for XSLT processing or even for validation (you
can explicity specify a DTD or even a schema to your validator at
run time). And your documents will still be well-formed XML and
valid DocBook even if they don't contain DOCTYPE declarations.

So unless you have DTD subsets in your documents, with entity
declarations in them, maybe just try removing the DOCTYPE.

Paul Taylor <paul_t100@fastmail.fm> writes:

> The problem occurs when i run the xml document through an xslt processor 
> to generate html. The problem was with accessing the DTD which was not 
> available. Ive tried manually copying it locally but it refers to 
> additional DTDs.
> 
> Bob Stayton wrote:
> 
> >The stylesheets themselves don't normally access the internet.  Generally
> >the Internet access comes when the processor tries to resolve the DTD
> >reference in the document, or when the XSL-FO processor tries to resolve 
> >the
> >draft.watermark.image location, whose default value is a URL.
> >
> >Let's eliminate the DTD first.  After downloading the DTD and changing your
> >DOCTYPE, can you validate the document?
> >
> >If the document validates, can you be more specific about what stage of the
> >processing generates the network messages?  Can you successfully generate
> >HTML output?  Are the message occuring when you run the FO processor?  If 
> >it
> >is the latter, then try setting the stylesheet parameter 'draft.mode' to
> >'no'.  That will prevent the draft.watermark.image from being accessed.
> >
> >Bob Stayton
> >Sagehill Enterprises
> >DocBook Consulting
> >bobs@sagehill.net
> >
> >
> > 
> >
> 

smime.p7s



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]