On 30 October 2010 12:21, mattn <[email protected]> wrote:
> I don't follow that answer (and I'm having the same issue).
>
> You're calling xmllint with --nonet. So where is xmllint supposed to
> get the DTD from if you're not permitting it to go out on the
> Internet? In other words, what does "locally installed" mean to
> xmllint - locally installed where? a2x provides no way to hand xmllint
> any options, so there's no way to tell it where to find the DTD as a
> file. It seems to me that either asciidoc should include the DTD as
> part of its own installation and hand xmllint the appropriate option,
> or a way should be provided for the user to do this.

Your xml catalog (usually? /etc/xml/catalog) maps external URIs to
other (usually local file:) URIs when a resource is requested by xml.
This is usually a hierarchical structure so that top level entries
refer to the lower level ones.

Properly installed DTDs will include themselves in the catalog so when
requested the local copy is used. No options are required to xmllint.

Cheers
Lex

>
> Same problem with xsltproc later in the process. You're saying --nonet
> so where is xsltproc supposed to get the stylesheets?

As above

>
> If I could solves these problems, I could use a2x...! :) m.
>
> On Oct 22, 4:41 pm, Stuart Rackham <[email protected]> wrote:
>> xmllintis unable to find a locally installed DocBook 4.5 DTD on your system 
>> so
>> it's unable to validate the DocBook file generated by asciidoc (xmllinterror
>> code 4). You need to install the DocBook DTD (I'm not familiar with the Mac 
>> so
>> can't point you in the right direction). You can sidestep the problem by 
>> running
>> a2x with the --no-xmllintoption.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "asciidoc" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/asciidoc?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to