attachment-0001
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>Current Schema issues </TITLE>
</HEAD>
<BODY>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">All,</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">Here are the issues I am currently aware of regarding</FONT> <FONT SIZE=2 FACE="Arial">v0.95 of the PWG Schema. </FONT> <FONT SIZE=2 FACE="Arial">If you have any comments on one of these issues please cut and paste the issue into a new mail note with a subject line</FONT> <FONT SIZE=2 FACE="Arial">of "</FONT><FONT SIZE=2 FACE="Arial">Schema Issue #</FONT><FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial"> where # is the number of the issue from the lis</FONT><FONT SIZE=2 FACE="Arial">t</FONT><FONT SIZE=2 FACE="Arial"> below</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">Thanks,</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">Pete</FONT></P>
<P><FONT SIZE=2 FACE="Arial">1) </FONT> <FONT COLOR="#000000" SIZE=2 FACE="Arial">ProcessingActual.xsd has a duplicate definition of OutputBinActual in JobProcessingActual - I pulled it out and it was fine in sqc</FONT><FONT COLOR="#000000" SIZE=2 FACE="Arial"></FONT> </P>
<UL><UL><UL><UL>
<P ALIGN=LEFT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><PZ>Duplicate was supposed to be</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">"</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">OutputDeciceActual</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">"</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">. Fixed in all sub-schemas.</PZ></FONT></P>
</UL></UL></UL></UL>
<P><FONT SIZE=2 FACE="Arial">2) </FONT> <FONT COLOR="#000000" SIZE=2 FACE="Arial">the PWG SM schemas liberally use <xs:any namespace="##any"/>. The sqc apparently dislikes using ##any for the namepace wildcard if the xs:any is in a sequence with any other elements. If I switch this to <xs:any namespace="##other"/>, the problem goes away. I couldn't find any documentation on why this is a problem, but the sqc doesn't like it. Interestingly, it looks like you can add !both! <xs:any namespace="##other"/> and <xs:any namespace="##local"/> and it works fine - which in theory is the equivalent of <xs:any namespace="##any"/>. I did find this pattern in a sample online, but I haven't yet found any description on why <xs:any namespace="##any"/> is a real problem. It does, however, fail the sqc, and we think it may be what is causing some of the MS tools to give up on the SM schemas as well</FONT></P>
<UL><UL><UL><UL>
<P ALIGN=LEFT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><PZ>Actually the replacement for <xs:any namespace="##any"/> would be <xs:any namespace="<A HREF="http://www.pwg.org/schemas/sm/latest/" TARGET="_blank">http://www.pwg.org/schemas/sm/latest/</A>"/> and <xs:any namespace="##other"/></FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">. We do NOT want locally defined elements. All extensions MUST be fully qualified with the namespace to federate</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">extensions to the schema.</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"></FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> In all examples I have seen from the W3C they use</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">'</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">##any</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">"</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> for this type of extensibility. I still have not reinstalled all my</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">XML tools yet or have not had time to try them on this issue. </FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">It seems to me that</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">'</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">##any</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">'</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> is exactly what we mean.</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"></PZ></FONT></P>
</UL></UL></UL></UL>
<P><FONT SIZE=2 FACE="Arial">3) </FONT> <FONT SIZE=2 FACE="Arial">The</FONT><FONT SIZE=2 FACE="Arial"> PWG copyright on the schemas still says 2002. I'm assuming we need to roll this to 2003.</FONT><FONT SIZE=2 FACE="Arial"></FONT>
<UL><UL><UL><UL>
<P ALIGN=LEFT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><PZ>Added</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">"</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">, 2003</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">"</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> to copyright notices</PZ></FONT></P>
</UL></UL></UL></UL>
<P><FONT SIZE=2 FACE="Arial">4) </FONT> <FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial">J</FONT><FONT SIZE=2 FACE="Arial">obPriority</FONT><FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial"> need</FONT> <FONT SIZE=2 FACE="Arial">minimum value of</FONT> <FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">1</FONT><FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial"> and maximum value of</FONT> <FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">100</FONT><FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">.</FONT>
<UL><UL><UL><UL>
<P ALIGN=LEFT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><PZ>Added to</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">"</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">JobPriority</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">"</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> and</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">"</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">JobPriorityDefault</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">"</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"></PZ></FONT></P>
</UL></UL></UL></UL>
<P><FONT SIZE=2 FACE="Arial">5) </FONT> <FONT SIZE=2 FACE="Arial">The</FONT> <FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial">MediaSizeSelfDescribingNameWKV</FONT><FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial"> element has an enumberation</FONT> <FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">om_large-photo_200x300</FONT><FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial"> that should be</FONT> <FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">om_large-photo_200x300mm</FONT><FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">.</FONT> </P>
<UL><UL><UL><UL>
<P ALIGN=LEFT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><PZ>Fixed</PZ></FONT></P>
</UL></UL></UL></UL>
<P><FONT SIZE=2 FACE="Arial">6) </FONT> <FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial">DocumentFormatWKV</FONT><FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial"> needs</FONT> <FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">application/vnd.pwg-xhtml-print+xml</FONT><FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial"> and image MIME types</FONT>
<UL><UL><UL><UL>
<P ALIGN=LEFT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><PZ>Added</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">'application/vnd.pwg-xhtml-print+xml'</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">, image/g3fax</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">'</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">,</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">'</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">image/jpeg</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">'</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">,</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">'</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">imag/tiff</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">'</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">and</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"></FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">'</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">image/tiff-fx</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">'</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">.</PZ></FONT></P>
</UL></UL></UL></UL>
<P><FONT SIZE=2 FACE="Arial">7) </FONT> <FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial">DocumentFormat</FONT><FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial"> does not allow certain extension values.</FONT>
<UL><UL><UL><UL>
<P ALIGN=LEFT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><PZ>The</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">"</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">MimeExtentionPattern</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">"</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> SimpleType is not correct. </FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">As a quick fix</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I changed it to have a value of</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">'</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">(\i|\d|\.)*&#x002F;(\i|\d|\.\p{P})*'</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">. I have not tested it yet. Anyone with time to create a proper pattern</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">describing</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> MIME</FONT> <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">would be appreciated.</PZ></FONT></P>
</UL></UL></UL></UL>
<P><FONT SIZE=2 FACE="Arial">8) </FONT> <FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial">PrinterStateReasons</FONT><FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial"> should include the values</FONT> <FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">AttentionRequired</FONT><FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial"> and</FONT> <FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">MarkerFailure</FONT><FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">.</FONT>
<UL><UL><UL><UL>
<P ALIGN=LEFT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><PZ>Added them</PZ></FONT></P>
</UL></UL></UL></UL>
<P><FONT SIZE=2 FACE="Arial">9) </FONT> <FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial">DocumentFormat</FONT><FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial"> need the value</FONT> <FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">unknown</FONT><FONT SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">.</FONT>
<UL><UL><UL><UL>
<P ALIGN=LEFT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><PZ>Added it</PZ></FONT></P>
</UL></UL></UL></UL>
<P><FONT SIZE=2 FACE="Arial">10) </FONT> <FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial">JobAccountingId</FONT><FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial"> should be</FONT> <FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial">JobAccountingID</FONT><FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial">.</FONT>
<UL><UL><UL><UL>
<P ALIGN=LEFT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"><PZ>Fixed</PZ></FONT></P>
<P ALIGN=LEFT><A NAME="_MailAutoSig"><FONT FACE="Impact">Peter Zehler</FONT></A></P>
<P ALIGN=LEFT><FONT COLOR="#FF0000" FACE="XeroxPeopleNet">XEROX</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Tahoma">Xerox Innovation Group</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">Email: PZehler@crt.xerox.com</FONT></P>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2 FACE="Arial">Voice: (585) 265-8755</FONT></P>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2 FACE="Arial">FAX: (585) 422-</FONT><FONT SIZE=2 FACE="Arial">7961</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">US Mail: Peter Zehler</FONT></P>
<UL>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial"> Xerox Corp.</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial"> 800 Phillips Rd.</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial"> M/S 128-25E</FONT></P>
<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial"> Webster NY, 14580-9701</FONT></P>
</UL></UL></UL></UL></UL>
<P ALIGN=LEFT></P>
</BODY>
</HTML>