2017

Table Of Contents
USING QUARKXPRESS SERVER
172 | A Guide to QuarkXPress Server 2017
Evaluate
The evaluate request handler evaluates the document you specify using a rule set
i
n the Job Jackets file you specify, and returns the results as an XML stream.
By default, this request handler evaluates the following rules:
Platform mismatch
Missing fonts
Missing pictures
T
hese rules are defined in the “Default Job Jacket.xml” file, which is generated by
QuarkXPress Server in the preferences folder.
You can specify multiple rule sets in a comma-separated list.
To specify which layouts to evaluate, use the
layout parameter.
To evaluate using an external Job Jackets file, use the jobjacket parameter. For
example:
jobjacket=customjj.xml
svc.processRequest(rc);
Namespace evaluate
Response The default Job Jackets file.
Alerts
Incorrect administration realm
user name and password.
HTTP Error #401 This alert
displays if you specify an
invalid administrator user name
and password. What to do: Use
the user name and password set
in the QuarkXPress Server
Manager client Server
Configuration dialog box.
Logs See “Understanding logging.”
Example GET URL
http://localhost:8080/evaluate/MyProject.qxp?ruleset=”MyRuleSe
t”
Example, object model
Request object name:
EvaluateRequestcom.quark.qxpsm.QRequestContext rc = new
com.quark.qxpsm.QRequestContext();
if(!this.DocumentSettings1.documentName.Text.Equals(“”))
rc.documentName =
this.DocumentSettings1.documentName.Text; rc.request = new
EvaluateRequest(); //Create the service and call it with
QRequestContext object RequestService svc = new
RequestService(); com.quark.qxpsm.QContentData qc =
svc.processRequest(rc);
Notes
If a user name and password have been set in the Server
Configuration dialog box, the browser requests that user name
and password when you submit a getdocinfo parameter request.