attachment-0001


<br><font size=2 face="sans-serif">Ira, great work. Looks good. I like
your resource types and can't think of any additions (or subtractions)
right now. I think you hit the right ones. </font>
<br><font size=2 face="sans-serif">----------------------------------------------
<br>
Harry Lewis <br>
Chairman - IEEE-ISTO Printer Working Group<br>
http://www.pwg.org<br>
IBM Printing Systems <br>
http://www.ibm.com/printers<br>
303-924-5337<br>
---------------------------------------------- </font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;McDonald, Ira&quot;
&lt;imcdonald@sharplabs.com&gt;</b> </font>
<br><font size=1 face="sans-serif">Sent by: owner-wbmm@pwg.org</font>
<p><font size=1 face="sans-serif">12/08/2003 04:05 PM</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">&quot;'wbmm@pwg.org'&quot;
&lt;wbmm@pwg.org&gt;</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">WBMM&gt; Posted prototype
of Resource Schema (8 December 2003)</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Hi folks, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; Monday (8 December 2003)<br>
<br>
[for review and/or discussion at this week's WBMM telecon]<br>
<br>
I have just posted a prototype of a Resource XML Schema:<br>
<br>
 &nbsp; &nbsp;ftp://ftp.pwg.org/pub/pwg/wbmm/schemas/resource-20031208.xsd<br>
<br>
The Resource XML Schema v0.10 validates without warnings using XML SPY<br>
2004, XRay 2.0, and XSV 2.5 (the free XML Schema Validator).<br>
<br>
Below are: (a) description; (b) use models; (c) excerpts.<br>
<br>
Cheers,<br>
- Ira McDonald<br>
 &nbsp;High North Inc<br>
<br>
Ira McDonald (Musician / Software Architect)<br>
Blue Roof Music / High North Inc<br>
PO Box 221 &nbsp;Grand Marais, MI &nbsp;49839<br>
phone: +1-906-494-2434<br>
email: imcdonald@sharplabs.com<br>
<br>
------------------------------------------------------------------------<br>
[description of Resource Schema]<br>
<br>
<br>
The Resource Schema defines a set of common elements applicable to most<br>
or all Resource objects. &nbsp;Presently, the documentation consists of<br>
references to the most recent IPP Resource Object working draft:<br>
<br>
ftp://ftp.pwg.org/pub/pwg/ipp/new_RES/draft-ietf-ipp-get-resource-01.txt<br>
<br>
As stated in the minutes from last week's WBMM meeting in Provo, a new<br>
section/appendix will be written (as soon as I can) in the WBMM Protocol<br>
Spec for the Resource object.<br>
<br>
Unlike the original IPP Resource Object proposal, this Resource XML<br>
Schema _does_ contain a ResourceState element (see excerpt below) with<br>
the states: &nbsp;'Idle', 'Reserved', 'Processing', and 'Stopped'.<br>
<br>
Like the original IPP Resource Object, the actual resource data (if any)<br>
is passed by reference in 'ResourceDataURIs' (list of URI), and the<br>
client (in this case, the WBMM Management Station) can determine if the<br>
resource data has been locally cached by reading the boolean element<br>
'ResourceDataPresent'.<br>
<br>
Like WBMM Actions, the Resource object itself is a choice of the various<br>
resource types, which presently include:<br>
<br>
'Firmware' - code for a hardware device (for local NVRAM storage)<br>
'Font' &nbsp; &nbsp; - font (more metadata elements need to be defined)<br>
'Form' &nbsp; &nbsp; - form<br>
'Image' &nbsp; &nbsp;- image<br>
'Logo' &nbsp; &nbsp; - logo<br>
'Software' - code for a software service or device (not NVRAM)<br>
<br>
------------------------------------------------------------------------<br>
[use models for Resource Schema]<br>
<br>
<br>
(1) Fleet Management Printer Monitor<br>
 &nbsp; &nbsp;- reads list of 'ResourceFirmware' once at startup<br>
 &nbsp; &nbsp;- reads 'ResourceState' and 'ResourceDataPresent' periodically<br>
 &nbsp; &nbsp; &nbsp;- if 'ResourceState' is 'Stopped'<br>
 &nbsp; &nbsp; &nbsp; &nbsp;- human intervention is required<br>
 &nbsp; &nbsp;- updates resources, as required by specific alerts<br>
<br>
(2) Local Operator Printer Monitor<br>
 &nbsp; &nbsp;- reads list of all resource types once at startup<br>
 &nbsp; &nbsp;- reads 'ResourceState' and 'ResourceDataPresent' periodically<br>
 &nbsp; &nbsp; &nbsp;- if 'ResourceState' is 'Stopped'<br>
 &nbsp; &nbsp; &nbsp; &nbsp;- human intervention is required<br>
 &nbsp; &nbsp;- updates resources, as required by specific alerts<br>
<br>
(3) Accounting Printer Monitor<br>
 &nbsp; &nbsp;- TBD (a Resource may be either Printer or Job scope)<br>
<br>
------------------------------------------------------------------------<br>
[excerpts from Resource Schema]<br>
<br>
<br>
&lt;xsd:simpleType name=&quot;ResourceStateType&quot;&gt;<br>
 &nbsp;&lt;!-- state of this resource --&gt;<br>
 &nbsp;&lt;!-- see IPP printer-state - section 4.4.11 [RFC2911] --&gt;<br>
 &nbsp;&lt;xsd:restriction base=&quot;xsd:NMTOKEN&quot;&gt;<br>
<br>
 &nbsp; &nbsp;&lt;xsd:enumeration value=&quot;Idle&quot;/&gt;<br>
 &nbsp; &nbsp;&lt;!-- resources is idle (not reserved) --&gt;<br>
 &nbsp; &nbsp;&lt;!-- (resource may be modified/deleted by authenticated
admin) --&gt;<br>
 &nbsp; &nbsp;&lt;!-- see 'idle' - section 4.4.11 [RFC2911] --&gt;<br>
<br>
 &nbsp; &nbsp;&lt;xsd:enumeration value=&quot;Reserved&quot;/&gt;<br>
 &nbsp; &nbsp;&lt;!-- resource is currently reserved (for one or more jobs)
--&gt;<br>
 &nbsp; &nbsp;&lt;!-- resource extension to IPP Printer object state model
--&gt;<br>
<br>
 &nbsp; &nbsp;&lt;xsd:enumeration value=&quot;Processing&quot;/&gt;<br>
 &nbsp; &nbsp;&lt;!-- resource is currently processing (in one or more
jobs) --&gt;<br>
 &nbsp; &nbsp;&lt;!-- see 'processing' - section 4.4.11 [RFC2911] --&gt;<br>
<br>
 &nbsp; &nbsp;&lt;xsd:enumeration value=&quot;Stopped&quot;/&gt;<br>
 &nbsp; &nbsp;&lt;!-- resource is currently stopped (in one or more jobs)
--&gt;<br>
 &nbsp; &nbsp;&lt;!-- (human intervention is required to unblock resource)
--&gt;<br>
 &nbsp; &nbsp;&lt;!-- see 'stopped' - section 4.4.11 [RFC2911] --&gt;<br>
 &nbsp;&lt;/xsd:restriction&gt;<br>
&lt;/xsd:simpleType&gt;<br>
<br>
&lt;xsd:element name=&quot;ResourceStatus&quot;&gt;<br>
 &nbsp;&lt;!-- ResourceStatus - group --&gt;<br>
 &nbsp;&lt;xsd:complexType&gt;<br>
 &nbsp; &nbsp;&lt;xsd:sequence&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;xsd:element ref=&quot;ResourceState&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot;/&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;xsd:element ref=&quot;ResourceCreateDate&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot;/&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;xsd:element ref=&quot;ResourceModifyDate&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot;/&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;xsd:element ref=&quot;ResourceDataPresent&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot;/&gt;<br>
 &nbsp; &nbsp;&lt;/xsd:sequence&gt;<br>
 &nbsp;&lt;/xsd:complexType&gt;<br>
&lt;/xsd:element&gt;<br>
<br>
&lt;xsd:element name=&quot;ResourceDescription&quot;&gt;<br>
 &nbsp;&lt;!-- ResourceDescription - group --&gt;<br>
 &nbsp;&lt;xsd:complexType&gt;<br>
 &nbsp; &nbsp;&lt;xsd:sequence&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;xsd:element ref=&quot;ResourceIndex&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot;/&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;xsd:element ref=&quot;ResourceInfo&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot;/&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;xsd:element ref=&quot;ResourceName&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot;/&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;xsd:element ref=&quot;ResourceDataURIs&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot;/&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;xsd:element ref=&quot;ResourceDataKOctets&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot;/&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;xsd:element ref=&quot;ResourceDataCompression&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot;/&gt;<br>
 &nbsp; &nbsp;&lt;/xsd:sequence&gt;<br>
 &nbsp;&lt;/xsd:complexType&gt;<br>
&lt;/xsd:element&gt;<br>
</tt></font>
<br>
Our website uses cookies on your device to give you the best user experience. By using our website, you agree to the placement of these cookies. To learn more, read our privacy policy. Read Privacy Policy