9.5

Table Of Contents
HTTP Error #500A locked layer
cannot be
manipulated.
This alert displays if you request data from a box on a locked layer.
What to do: Open the project in QuarkXPress, display the Layers palette, and
unlock the box's layer.
HTTP Error #500Unable to read
picture (#106)
QuarkXPress Server Error #109
This alert displays if you try to import a text file into a picture box.
HTTP Error #404Bad filename/
pathname
QuarkXPress Server Error #37
This alert displays if you try to import an invalid or nonexistent file into a box.
If the request succeeds, a transaction success message is written to the QuarkXPress Server transaction
log file. For example:
Logs
8/5/2005 18:11:54 sample.qxp Type: image/jpeg Size: 65982 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 18:01:59 Error Error Code: 10343 A locked Layer cannot be manipulated.
When QuarkXPress Server is running on Windows, use a URL like the following:
http://localhost:8080/Sample.qxp?modify=
file:c:\file.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:HDD:file.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="Layout1"/><SPREAD><ID UID="1"/>
<BOXBOXTYPE="CT_TEXT"><ID NAME="TREES"/>
<CONTENT>C:\docs\file1.jpg</CONTENT>
</BOX></SPREAD></LAYOUT></PROJECT>
When specifying a path, use URLs like the following:
http://localhost:8080/Sample.qxp?
textboxname@dataimport=file:c:\file.txt
http://localhost:8080/Sample.qxp?
pictureboxname@dataimport=c:\file.jpg
You can import text directly into a box from the URL string. For example:
http://localhost:8080/Sample.qxp?
textboxname@dataimport=Newdata
When you import a file that uses style sheets, you can control how those style sheets are handled.
For example:
http://localhost:8080/Documentname?
textboxname@dataimport=file:c:\file.doc&
textboxnameincludestylesheets@dataimport=yes
You can control how quotation marks are handled at import. For example:
http://localhost:8080/Documentname?
textboxname@dataimport=file:c:\file.doc&
textboxnameconvertquotes@dataimport=yes
Request object names:
ModifierRequest
ModifierStreamRequest
Example, object
model
Project
110 | A GUIDE TO QUARKXPRESS SERVER 9.5
USING QUARKXPRESS SERVER