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>"McDonald, Ira"
<imcdonald@sharplabs.com></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">"'wbmm@pwg.org'"
<wbmm@pwg.org></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> 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,
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>
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>
High North Inc<br>
<br>
Ira McDonald (Musician / Software Architect)<br>
Blue Roof Music / High North Inc<br>
PO Box 221 Grand Marais, MI 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. 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: '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' - font (more metadata elements need to be defined)<br>
'Form' - form<br>
'Image' - image<br>
'Logo' - 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>
- reads list of 'ResourceFirmware' once at startup<br>
- reads 'ResourceState' and 'ResourceDataPresent' periodically<br>
- if 'ResourceState' is 'Stopped'<br>
- human intervention is required<br>
- updates resources, as required by specific alerts<br>
<br>
(2) Local Operator Printer Monitor<br>
- reads list of all resource types once at startup<br>
- reads 'ResourceState' and 'ResourceDataPresent' periodically<br>
- if 'ResourceState' is 'Stopped'<br>
- human intervention is required<br>
- updates resources, as required by specific alerts<br>
<br>
(3) Accounting Printer Monitor<br>
- TBD (a Resource may be either Printer or Job scope)<br>
<br>
------------------------------------------------------------------------<br>
[excerpts from Resource Schema]<br>
<br>
<br>
<xsd:simpleType name="ResourceStateType"><br>
<!-- state of this resource --><br>
<!-- see IPP printer-state - section 4.4.11 [RFC2911] --><br>
<xsd:restriction base="xsd:NMTOKEN"><br>
<br>
<xsd:enumeration value="Idle"/><br>
<!-- resources is idle (not reserved) --><br>
<!-- (resource may be modified/deleted by authenticated
admin) --><br>
<!-- see 'idle' - section 4.4.11 [RFC2911] --><br>
<br>
<xsd:enumeration value="Reserved"/><br>
<!-- resource is currently reserved (for one or more jobs)
--><br>
<!-- resource extension to IPP Printer object state model
--><br>
<br>
<xsd:enumeration value="Processing"/><br>
<!-- resource is currently processing (in one or more
jobs) --><br>
<!-- see 'processing' - section 4.4.11 [RFC2911] --><br>
<br>
<xsd:enumeration value="Stopped"/><br>
<!-- resource is currently stopped (in one or more jobs)
--><br>
<!-- (human intervention is required to unblock resource)
--><br>
<!-- see 'stopped' - section 4.4.11 [RFC2911] --><br>
</xsd:restriction><br>
</xsd:simpleType><br>
<br>
<xsd:element name="ResourceStatus"><br>
<!-- ResourceStatus - group --><br>
<xsd:complexType><br>
<xsd:sequence><br>
<xsd:element ref="ResourceState"<br>
minOccurs="1" maxOccurs="1"/><br>
<xsd:element ref="ResourceCreateDate"<br>
minOccurs="1" maxOccurs="1"/><br>
<xsd:element ref="ResourceModifyDate"<br>
minOccurs="0" maxOccurs="1"/><br>
<xsd:element ref="ResourceDataPresent"<br>
minOccurs="0" maxOccurs="1"/><br>
</xsd:sequence><br>
</xsd:complexType><br>
</xsd:element><br>
<br>
<xsd:element name="ResourceDescription"><br>
<!-- ResourceDescription - group --><br>
<xsd:complexType><br>
<xsd:sequence><br>
<xsd:element ref="ResourceIndex"<br>
minOccurs="1" maxOccurs="1"/><br>
<xsd:element ref="ResourceInfo"<br>
minOccurs="0" maxOccurs="1"/><br>
<xsd:element ref="ResourceName"<br>
minOccurs="0" maxOccurs="1"/><br>
<xsd:element ref="ResourceDataURIs"<br>
minOccurs="0" maxOccurs="1"/><br>
<xsd:element ref="ResourceDataKOctets"<br>
minOccurs="0" maxOccurs="1"/><br>
<xsd:element ref="ResourceDataCompression"<br>
minOccurs="1" maxOccurs="1"/><br>
</xsd:sequence><br>
</xsd:complexType><br>
</xsd:element><br>
</tt></font>
<br>