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] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Onechunk problem


On Wed, May 15, 2002 at 03:03:34AM -0500, Michael Smith wrote:
> Bob Stayton writes:
> 
> > On Fri, May 03, 2002 at 03:30:17PM -0500, Dennis Grace wrote:
> > > > About my error message:
> > > >
> > > > Error chapter is not a chunk!
> > > > Writing for chapter
> > > > runtime error: file
> > > > /usr/share/sgml/docbook/docbook-xsl-1.50.0/html/chunker.xsl
> > > > line 79 element document
> > > > xsltDocumentElem: URL computation failed for
> > [...]
> >
> > The line number reported is the line with the closing ">"
> > for exsl:document element.  I think the xsltproc parser
> > is using that as the element line.  I have several files
> > that do not generate the error, and two that do, so it is
> > not happening with all files.  I haven't had time to
> > investigate what is different about those two files.
> 
> It appears that at least one thing that will cause this problem is
> having spaces in a refname. The current db2man code takes the refname

  yes libxslt doesn't cope well with the document extension if there
are unescaped spaces in the target chunk name (in the URI sense because
I assume the name is an URI Reference, and then pass it to libxml2 layer
doing the URI- Ref computation job, which itself fails because "a b" is
not an URI-Reference).
  I don't know what's the best way to handle this, maybe libxslt could
URI escape the returned string automatically ...

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] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC