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] Using draft images with fop, and catalogs.

|  -----Original Message-----
|  From: Kerry, Richard 
|  I can see how to add the Resolver and Catalog Manager paths 
|  to the local class-path in fop.bat (LOCALCLASSPATH).
|  But its not clear to me how to pass in the resolver options 
|  (-x, -y, -r) - JAVOPTS or FOP_CMD_LINE_ARGS ?  
|  If these are specific to Saxon then there's surely no way 
|  Fop could make any use of them ?  Although I'd expect they 
|  might be generic Java facilities but my knowledge of Java is 
|  very minimal and I don't know how to pass in all the 
|  required parameters.

The -x, -y, and -r options are specific to Saxon. They are not recognized by
FOP (actually, FOP has -x and -r options, but they are for other purposes). 

AFAIK, enabling the resolver requires Java coding:

I have fiddled a bit with the example code, but I have not been able to make
it work. The example uses URN identifiers (such as
"urn:apache:people:jeremias:xml-resolver-demo:xml-resolver-demo.fo"). When
running the program, I keep getting "java.net.MalformedURLException: unknown
protocol: urn" errors.


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