How to Resolve references to Toolkit-provided Java Functions?

In my project for working on custom Toolkit plugins, I have all my master transforms defined as master files and everything validates nicely except that I still get messages on the dost.jar-provided Java functions getWidth() and getHeight(): Engine name: Saxon-PE 9.4.0.4 Severity: fatal Description: Cannot find a matching 2-argument function named {org.dita.dost.util.ImgUtils}getWidth() What else do I need to do to remove these validation errors? Cheers, E. -- Eliot Kimber Senior Solutions Architect, RSI Content Solutions "Bringing Strategy, Content, and Technology Together" Main: 512.554.9368 www.rsicms.com www.rsuitecms.com Book: DITA For Practitioners, from XML Press, http://xmlpress.net/publications/dita/practitioners-1/

Hi Eliot, Two ways: 1) Copy the "dost.jar" to the "OXYGEN_INSTALL_DIR/lib" directory and restart. or: 2) Open the master XSLT stylesheet, create a new validation scenario for it which uses Saxon 9 PE as an engine and also add the dost.jar as an extension to the validation module. See step (3) from:
http://www.oxygenxml.com/doc/ug-oxygen/tasks/create-validation-scenario.html
Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 11/19/2012 4:25 PM, Eliot Kimber wrote:
In my project for working on custom Toolkit plugins, I have all my master transforms defined as master files and everything validates nicely except that I still get messages on the dost.jar-provided Java functions getWidth() and getHeight():
Engine name: Saxon-PE 9.4.0.4 Severity: fatal Description: Cannot find a matching 2-argument function named {org.dita.dost.util.ImgUtils}getWidth()
What else do I need to do to remove these validation errors?
Cheers,
E.

Hmm--I had a transform scenario that looked right but it wasn't working. I recreated one from scratch and that worked fine. So it's all good. Cheers, E. On 11/19/12 8:25 AM, "Eliot Kimber" <ekimber@rsicms.com> wrote:
In my project for working on custom Toolkit plugins, I have all my master transforms defined as master files and everything validates nicely except that I still get messages on the dost.jar-provided Java functions getWidth() and getHeight():
Engine name: Saxon-PE 9.4.0.4 Severity: fatal Description: Cannot find a matching 2-argument function named {org.dita.dost.util.ImgUtils}getWidth()
What else do I need to do to remove these validation errors?
Cheers,
E.
-- Eliot Kimber Senior Solutions Architect, RSI Content Solutions "Bringing Strategy, Content, and Technology Together" Main: 512.554.9368 www.rsicms.com www.rsuitecms.com Book: DITA For Practitioners, from XML Press, http://xmlpress.net/publications/dita/practitioners-1/
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- Eliot Kimber Senior Solutions Architect, RSI Content Solutions "Bringing Strategy, Content, and Technology Together" Main: 512.554.9368 www.rsicms.com www.rsuitecms.com Book: DITA For Practitioners, from XML Press, http://xmlpress.net/publications/dita/practitioners-1/
participants (2)
-
Eliot Kimber
-
Oxygen XML Editor Support