8.5

Table Of Contents
HTTP Error #500There is no box
with the
This alert displays if the box specified by the child text node of an <ID> element
does not exist.
specified
identifier.
HTTP Error #500The text size
value is outside
the valid range.
This alert displays if the value specified in a <SIZE> element is invalid.
What to do: Specify a value between 2 and 720 points.
HTTP Error #500The specified
color is not
This alert displays if the value specified in a <COLOR> element is invalid.
available to the
document
HTTP Error #500The specified
font is not
available
This alert displays if the value specified in a <FONT> element is invalid or the
specified font is not present on the server.
HTTP Error #500The XML
document
This alert displays if you supply an invalid value in the XML.
contains an
invalid tag value.
HTTP Error #500The specified
box cannot be
modified.
This alert displays if you try to modify text properties on a box that is not a text
box.
If the request succeeds, a transaction success message is written to the QuarkXPress Server transaction
log file. This message includes the date, time, request type, project name, response type, response
size in bytes, and client IP address. For example:
Logs
8/3/2005 11:27:42 jpeg/sample.qxp Type: image/jpeg Size: 31715 Client: 127.0.0.1
If an alert displays, an error message is written to the QuarkXPress Server error log file. For example:
8/5/2005 13:32:10 Error Error Code: 10006 There is no box with the specified identifier.
When QuarkXPress Server is running on Windows, use a URL like the following:
http://localhost:8080/sample.qxp?modify=
file:C:\modifier.xml
Example GET
URL
When QuarkXPress Server is running on Mac OS, use a URL like the following:
http://localhost:8080/sample.qxp?modify=
file:MacHD:xml:modifier.xml
You can also supply a string that consists of valid XML commands. For example:
http://localhost:8080/sample.qxp?modify=
<PROJECT><LAYOUT><ID UID="1"/><SPREAD><ID UID="1"/>
<BOX BOXTYPE="CT_TEXT"><ID NAME="BACKGROUND"/>
<TEXT><STORY><RICHTEXT FONT="Castella" PLAIN="true">
This is text.</RICHTEXT></STORY></TEXT></BOX>
</SPREAD></LAYOUT></PROJECT>
Request object names:
ModifierRequest
ModifierStreamRequest
Example 1,
object model
Project
RichText
Text
ID
Box
QXP SERVER 8.5 WEB INTEGRATION GUIDE | 85
USING THE WEB INTERFACE