OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: RE: [docbook] dbhtml pi and parsing


Your <figure> isn't complete, so the document isn't valid against the
schema. A <figure> requires more than just an <info> element, thus
"unfinished element". See:
http://www.docbook.org/tdg5/en/html/figure.html

I guess you can include some empty/dummy content to make it valid and
then have the real stuff come from the dbhtml-include.

David 

> -----Original Message-----
> From: Tim Arnold [mailto:Tim.Arnold@sas.com] 
> Sent: Tuesday, March 09, 2010 11:10 AM
> To: docbook@lists.oasis-open.org
> Subject: [docbook] dbhtml pi and parsing
> 
> hi,
> I have a figure that will include an xhtml file when it's 
> processed by the docbook xslt stylesheet:
> 
> <figure xml:id="allg4" remap="Listing">
>   <info><title>Testing</title></info>
>   <?dbhtml-include href="/home/htm/allg4.htm" ?> </figure>
> 
> But I get an error from the xerces parser with this command line:
> /usr/local/bin/java 
> -Dorg.apache.xerces.xni.parser.XMLParserConfiguration= \
>                                       
> org.apache.xerces.parsers.XIncludeParserConfiguration  \
>                                       -jar 
> /u/tiarno/freebsd/oNVDL/bin/onvdl.jar 
> /DocBook/V5.0/docbook.nvdl  filename.xml
> 
> The error is "error: unfinished element", apparently 
> referring to the processing instruction.
> 
> what am I doing wrong?
> 
>  thanks for any advice,
> --Tim Arnold
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-help@lists.oasis-open.org
> 
> 


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