Hi, Alex,

This is my command line:

java -cp lib/StringHash -jar build/fop.jar Fop -xml sample.xml -xsl
sample.xsl -pdf output.pdf

Thanks for the help.



Alex Fuller-2 wrote:
> 
> 
> 
> 
>   
> 
> 
> By the way,
> using extension functions
> that have side effects (inserting and retrieving values from a
> hashtable)
> can yield unpredictable results.  There's no guarantee that values
> will be inserted before you attempt to retrieve them. 
> Henry, 
>    Is there a side-effect of some sort of internal parsing
> optimization
> that events can happen out of order?   Or is it just that
> updating a
> hashtable that exists externally is susceptible to concurrency and
> exception handling issues that might be encountered during a parse? 
> Put another way, is it "safer" to use static functions that will not
> affect the state of anything externally?  What about creating an
> object
> using namespace:new() (which might create a hashtable instance) and
> invoking it's member functions (which might add or remove elements)? 
> I
> wouldn't think those would be triggered out of order.  I am just
> trying
> to see if there are any gotchas surrounding extension functions that
> I'm not aware of. 
> 
> Alex 
> 
> bonekrusher, 
>    Did you add your extension class to the classpath?  From
> your
> namespace, it looks like you used the default package for your
> "StringHash" class, so you might need a "." in your classpath. 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Hash-Tables-and-XSLT-extention-tp15912882p15971938.html
Sent from the Xalan - J - Users mailing list archive at Nabble.com.

Reply via email to