List Info

Thread: Re: RE: eclipsehelp - namespace problem, no template matches




Re: RE: eclipsehelp - namespace problem, no template matches
user name
2007-05-12 09:32:08
Hi Mauritz,

you're right, I used the DocBook XSL stylesheets 1.72.0
release on a DocBook 4 document.
I changed the DocBook XML head to the following:

<?xml version="1.0"
encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML
V5.0b5//EN" "http://www.oasis-open.org/docbook/xml/5.0b5
/dtd/docbook.dtd">
<book lang="de" xslns="http://docbook.or
g/ns/docbook" version="5.0">

Now it works well even by using the eclipse.xsl from the
regular release (no profile-* one). The DocBook XML contains
the element para among other elements. 

Thanks for your help
Regards

Mathias

> I can reproduce this problem by using eclipse.xsl in
the DocBook XSL
> 1.72.0
> release for DocBook 5 (docbook5-xsl) on a DocBook 4
document. Is that what
> you did, by any chance?
> 
> This is very similar to the situation when eclipse.xsl
in the regular
> DocBook XSL 1.72.0 release (docbook-xsl) is used on a
DocBook 5 document.
> Then you get errors like this:
> 
> Element para in namespace 'http://docbook.org/ns/d
ocbook' encountered in
> section, but no template matches.
> 
> The following paragraph from the DocBook 5 Transition
Guide is meant to
> help
> users avoid this problem:
> 
> "If you want to use HTML Help, JavaHelp or Eclipse
stylesheets with
> DocBook
> V5.0 you have to use profiling variants of those
stylesheets (their name
> is
> starting with profile-)." (http://
www.docbook.org/docs/howto/#processing)
> 
> The trouble is that there is no profiling variant of
eclipse.xsl. I have
> reported that. See
> http://sourceforge.net/track
er/index.php?func=detail&aid=1715093&group_id=21

> 935&atid=373747
> 
> 
> 
> > The plugin.xml and toc.xml aren't put to the
specified output
> > dir, it works concerning the html file.
> > How do I specify where to put the plugin.xml and
toc.xml?
> 
> 
> If you want them in the same directory as the HTML
files, set the
> manifest.in.base.dir parameter to 1.
> See
> http://docbook.sourceforge.net/relea
se/xsl/current/doc/html/manifest.in.base
> .dir.html
> 
> /MJ
> 

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu
sparen! 
Ideal für Modem und ISDN: http://www.gmx.n
et/de/go/smartsurfer

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gm
x.net/de/go/multimessenger

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )