This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Area contents overflows area - withuse.extensions=1


I see you are using the HTML xsl, I'm using the FO. Do the extensions
only work for HTML?

Also, I am not using those Resolveing classes.

Brian

On Mon, 2003-06-09 at 14:12, Bob Stayton wrote:
> This command works for me on your files:
> 
> java \
> -cp "../docbook-xsl-1.61.2/extensions/saxon651.jar:../saxon652/saxon.jar:../java
> lib/resolver.jar:." \
> com.icl.saxon.StyleSheet \
> -x org.apache.xml.resolver.tools.ResolvingXMLReader \
> -y org.apache.xml.resolver.tools.ResolvingXMLReader \
> -r org.apache.xml.resolver.tools.CatalogResolver \
> -o brian1.html \
> brian1.xml \
> ../docbook-xsl-1.61.2/html/docbook.xsl \
> use.extensions=1 
> 
> I think perhaps your CLASSPATH isn't finding the
> extensions/saxon651.jar file?
> 
> BTW, since you are using DocBook 4.2, you don't need
> to resort to the inlinemediaobject.  You can put
> a textobject directly in your programlisting:
> 
> <programlisting><textobject><textdata  fileref="xsd/MessageProfile.xml"/></textobject>
> </programlisting>
> 
> Leave out any extra whitespace inside your programlisting
> for best results since that whitespace is preserved
> in the output.
> 
> Bob Stayton                                 400 Encinal Street
> Publications Architect                      Santa Cruz, CA  95060
> Technical Publications                      voice: (831) 427-7796
> The SCO Group                               fax:   (831) 429-1887
>                                             email: bobs@sco.com
> 
> 
> On Mon, Jun 09, 2003 at 01:32:12PM -0400, Brian Burridge wrote:
> > <?xml version="1.0" encoding="UTF-8"?>
> > 
> > <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
> > "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>
> > <book>
> > <chapter><title>Sample</title>
> > 		<sect1>
> > 			<title>test</title>
> > 			<programlisting>
> > 				<inlinemediaobject>
> > 					<textobject>
> > 						<textdata fileref="xsd/MessageProfile.xml" />
> > 					</textobject>
> > 				</inlinemediaobject>
> > 			</programlisting>
> > 		</sect1>
> > </chapter>
> > </book>
> > 
> > and the included file looks like this:
> > <?xml version="1.0" encoding="UTF-8"?>
> > <MessageProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:noNamespaceSchemaLocation="MessageProfile.xsd">
> >   <messageName>messageName</messageName>
> >   <validationName>validationName</validationName>
> >   <validatorClassName>validatorClassName</validatorClassName>
> >  
> > <xmlExtenderMappingFile>xmlExtenderMappingFile</xmlExtenderMappingFile>
> >   <mqQueueName>mqQueueName</mqQueueName>
> >   <active>true</active>
> >  
> > <authorizationClassName>authorizationClassName</authorizationClassName>
> >   <jndiDBName>jndiDBName</jndiDBName>
> >   <authorizedRoles>
> >     <roleName>roleName</roleName>
> >   </authorizedRoles>
> >   <plugins>
> >     <pluginClassname>pluginClassname</pluginClassname>
> >   </plugins>
> > </MessageProfile>
> > 
> > 
> > Brian
> > 
> > On Mon, 2003-06-09 at 12:55, Bob Stayton wrote:
> > > On Mon, Jun 09, 2003 at 10:38:04AM -0400, Brian Burridge wrote:
> > > > Ok, well I don't know which one was causing the problem, but don't care,
> > > > because it ran with the text insert extension on, which is the only one
> > > > I care about.
> > > > 
> > > > However, when I run the stylesheet, I get this: [ERROR] no handler
> > > > defined for :a foreign xml.
> > > > 
> > > > Does it not include xml files?
> > > 
> > > Yes, the stylesheet extension function can include
> > > xml files as text files.  Can you give an example
> > > that fails?
> > 
> > 


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]