xprint: Fix <field type="STRING8"> in PrintGetAttributes reply
authorVincent W. Chen <noodlewiz@gmail.com>
Thu, 10 Apr 2014 01:48:56 +0000 (18:48 -0700)
committerPeter Harris <pharris@opentext.com>
Fri, 11 Apr 2014 21:50:10 +0000 (17:50 -0400)
The reply for PrintGetAttributes contains a field of type STRING8, which
makes no sense as the STRING8 type is only used to denote a string. This
has been changed to <list type="STRING8"> with field "stringLen" as its
length.

Reviewed-by: Peter Harris <pharris@opentext.com>
src/xprint.xml

index ffd8df1..e32293f 100644 (file)
@@ -235,7 +235,9 @@ authorization from the authors.
             <pad bytes="1" />
             <field type="CARD32" name="stringLen" />
             <pad bytes="20" />
-            <field type="STRING8" name="attributes" />
+            <list type="STRING8" name="attributes">
+                <fieldref>stringLen</fieldref>
+            </list>
         </reply>
     </request>