[Zope-xml] DocBook and XML Transform: select="document('../common/l10n.xml')"

Craeg Strong cstrong at arielpartners.com
Mon Sep 16 18:09:22 EDT 2002


Hello:

Congrats on the first step.  However, your error below still looks like 
the same old problem.
That is exactly the same error message I got with 4Suite using a version 
prior to the CVS
snapshot of 9/10/2002 (when the fix was applied), namely:

      Invalid base URI: urn:uuid:b0b0902-a03-c02-c0b-509070b901

If you *are* using that version, then perhaps there is another problem. 
 It would
help if I could reproduce your environment.  It sounds pretty 
straightforward; can you tell me
where you obtained the docbook stuff?  If you give me a URL I will test 
it, and make
it (or a representative subset thereof) a permanent part of the 
XMLTransform test suite :-)

--Craeg

Jean Jordaan wrote:

> OK, the includes are looking good :)  This line fails though:
>   <xsl:param name="l10n.xml" select="document('../common/l10n.xml')"/>
> details below ..
>
> My Zope DocBook setup is looking like this now:
>
> /xml
>   /registry/docbook/common
>   /registry/docbook/html
>   /registry/docbook/lib
>   paper.xml
>   paper
>
> 'common', 'html' and 'lib' are folders containing External File batches
> that point at /usr/share/sgml/docbook/xsl-stylesheets-1.52.2/... on the
> filesystem. 'paper.xml' is a proper DocBook article. 'paper' is an
> XMLTransform linking 'paper.xml' to 'docbook/html/docbook.xsl'.
>
> When I view /xml/paper, my log shows:
>
> =======================================================================
> 2002-09-16T18:16:53 INFO(0) XMLTransform styleSrc: 
> <Products.XMLTransform.FourSuite12Processor.ResolvingInputSource 
> instance at 0x9c2fb5c> systemID: 
> http://blommie:15080/xml/registry/docbook/html/docbook.xsl
>
> ==> var/Z2.log <==
> 192.168.1.5 - jean [16/Sep/2002:20:16:18 +0200] "GET /xml/paper 
> HTTP/1.1" 200 235 "" "Mozilla/5.0 (Windows NT 4.0; U) Opera 6.01  [en]"
> 192.168.1.2 - Anonymous [16/Sep/2002:20:16:53 +0200] "GET 
> /xml/registry/docbook/VERSION HTTP/1.0" 200 494 "" "Python-urllib/1.15"
> 192.168.1.2 - Anonymous [16/Sep/2002:20:16:53 +0200] "GET 
> /xml/registry/docbook/html/param.xsl HTTP/1.0" 200 12059 "" 
> "Python-urllib/1.15"
> [...]
> 192.168.1.2 - Anonymous [16/Sep/2002:20:17:04 +0200] "GET 
> /xml/registry/docbook/html/html-rtf.xsl HTTP/1.0" 200 9919 "" 
> "Python-urllib/1.15"
> 192.168.1.5 - jean [16/Sep/2002:20:17:05 +0200] "GET /xml/paper 
> HTTP/1.1" 200 235 "" "Mozilla/5.0 (Windows NT 4.0; U) Opera 6.01  [en]"
>
> ==> var/z2.log <==
> In stylesheet 
> http://blommie:15080/xml/registry/docbook/common/l10n.xsl, line 18, 
> column 0 in "document('../common/l10n.xml')":
> Invalid base URI: urn:uuid:b0b0902-a03-c02-c0b-509070b901
> =======================================================================
>
> It looks like
>   <xsl:param name="l10n.xml" select="document('../common/l10n.xml')"/>
> (l10n.xsl, line 18) isn't being resolved.
>





More information about the Zope-xml mailing list