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] Running DocBook XSL's XInclude with Saxon and FOP throws error


Following explanation at
http://www.sagehill.net/docbookxsl/ValidXinclude.html#XincludeDTD
also does not  help :(

The difference with a extra xinclude.mod and a
internal DTD however is, that Altova's validator
throws NO exception.

But running Saxon and FOP show same behavior as
before.

Regards,
Darya 

--- Darya Said-Akbari <darya_akbari@yahoo.com>
schrieb:

> I'm using Altova's built-in validator where it says
> that the <para> element in book.xml is NOT allowed
> at
> this line.
> 
> Another validating assertion is that the
> <xi:include>
> element is NOT allowed at its position in book.xml
> 
> It seems that the example is really missing
> something?
> 
> Any hints are welcome.
> 
> Regards,
> Darya
> 
> --- Darya Said-Akbari <darya_akbari@yahoo.com>
> schrieb:
> 
> > Hi,
> > 
> > has anybody tried Bob Stayton's XInclude example
> at
> >
>
http://www.sagehill.net/docbookxsl/ModularDoc.html#UsingXinclude
> > ?
> > 
> > Chapter file intro.xml:
> > <?xml version="1.0"?>
> > <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook
> XML
> > V4.4//EN"
> >                 
> >
>
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd";>
> > 
> > <chapter id="intro"> 
> > <title>Getting Started</title>
> > <section id="Installing">
> > ...
> > </chapter>
> > 
> > Book file:
> > <?xml version="1.0"?>
> > <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML
> > V4.4//EN"
> >                 
> >
>
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd";>
> > 
> > <book>
> > <title>User Guide</title>
> > <para>This guide shows you how to use the
> > software.</para>
> > <xi:include   
> >     xmlns:xi="http://www.w3.org/2001/XInclude"; 
> > href="intro.xml" /> 
> > ...
> > </book>
> > 
> > When I try to run this example I get following
> > exception from Saxon:
> > 
> > Recoverable error
> > org.xml.sax.SAXParseException: At least one
> > 'include'
> > or 'fallback' element in the document is bound to
> > the
> > old ''http://www.w3.org/2001/XInclude'' namespace.
> > This namespace is no longer processed. The
> namespace
> > ''http://www.w3.org/2003/XInclude'' must be used
> for
> > XInclude processing. 
> > 
> > The process however runs through and looks fine.
> But
> > when I run the resulting FO file with FOP 0.20.5 I
> > get
> > the following error:
> > 
> > [ERROR]
> file:/E:/projekte/docbookxsl/book.fo:1:20845
> > fo:flow must contain block-level children
> > 
> > Are above XML snippets for intro.xml and book.xml 
> > missing anything?
> > 
> > Regards,
> > Darya
> > 
> > 
> > 	
> > 
> > 	
> > 		
> >
>
___________________________________________________________
> > 
> > Der frühe Vogel fängt den Wurm. Hier gelangen Sie
> > zum neuen Yahoo! Mail: http://mail.yahoo.de
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > docbook-apps-unsubscribe@lists.oasis-open.org
> > For additional commands, e-mail:
> > docbook-apps-help@lists.oasis-open.org
> > 
> > 
> 
> 
> 
> 		
>
___________________________________________________________
> 
> Telefonate ohne weitere Kosten vom PC zum PC:
> http://messenger.yahoo.de
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail:
> docbook-apps-help@lists.oasis-open.org
> 
> 



	

	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de


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