attachment
Hi Walter,<br><br>Subtle error here.<br><br>"ipp-features-supported" is of type "keyword" (which means only PWG and<br>IANA registered standard values can be used).<br><br>It is *not* "keyword | name" (which would have allowed "airprint-1.4", but you <br>should not put version numbers into a feature name).<br><br>Apple would have to register the "airprint" with a publicly available spec for<br>you to use it in "ipp-features-supported".<br><br>Cheers,<br>- Ira<br><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Ira McDonald (Musician / Software Architect)<br>Co-Chair - TCG Trusted Mobility Solutions WG<br>Chair - Linux Foundation Open Printing WG<br>Secretary - IEEE-ISTO Printer Working Group<br>Co-Chair - IEEE-ISTO PWG Internet Printing Protocol WG<br>IETF Designated Expert - IPP & Printer MIB<br>Blue Roof Music / High North Inc<br><a style="color:rgb(51,51,255)" href="http://sites.google.com/site/blueroofmusic" target="_blank">http://sites.google.com/site/blueroofmusic</a><br><a style="color:rgb(102,0,204)" href="http://sites.google.com/site/highnorthinc" target="_blank">http://sites.google.com/site/highnorthinc</a><br>mailto: <a href="mailto:blueroofmusic@gmail.com" target="_blank">blueroofmusic@gmail.com</a><br>Winter 579 Park Place Saline, MI 48176 734-944-0094<br>Summer PO Box 221 Grand Marais, MI 49839 906-494-2434<br><br><div style="display:inline"></div><div style="display:inline"></div><div style="display:inline"></div><div></div><div></div><div></div><div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Dec 10, 2014 at 4:22 AM, Walter Zhou <span dir="ltr"><<a href="mailto:walterzh@marvell.com" target="_blank">walterzh@marvell.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi Michael<br>
<br>
According to section 8.1 ipp-features-supported (1setOf type2
keywork) in [PWG5100.15-2014], I think it is appropriate for return
the attribute value: <br>
<br>
IPP: ATTRIBUTE: ipp-features-supported
<br>
IPP: VALUE: Syntax=KEYWORD, Data=airprint-1.4
<br>
IPP: VALUE: Syntax=KEYWORD, Data=faxout
<br>
<br>
But APVT 1.4 complained, <br>
<br>
<p style="margin-bottom:0in"><font color="#000000"><font face="Helvetica, serif"><font size="4"><u><span style="font-weight:normal">Get
all printer attributes using ja language code.</span></u></font></font></font><font color="#ff0000"><font face="Helvetica, serif"><font size="4"><span style="text-decoration:none"><span style="font-weight:normal">
FAIL</span></span></font></font></font></p>
<p style="margin-bottom:0in"><font color="#ff0000"><font face="Helvetica, serif"><font size="4"><span style="text-decoration:none"><span style="font-weight:normal"> </span></span></font></font></font><font color="#000000"><font face="Helvetica, serif"><font size="3"><span style="text-decoration:none"><span style="font-weight:normal">EXPECTED:
ipp-features-supported WITH-ALL-VALUES
/^([^f]|f[^a]|fa[^x]|fax[^o]|faxo[^u]|faxou[^t])+$/ GOT:
ipp-features-supported="airprint-1.4" GOT:
ipp-features-supported="faxout" </span></span></font></font></font>
</p>
<p style="margin-bottom:0in"><font color="#000000"><font face="Helvetica, serif"><font size="3"><span style="text-decoration:none"><span style="font-weight:normal">{</span></span></font></font></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">Errors
= (</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">"EXPECTED:
ipp-features-supported WITH-ALL-VALUES
/^([^f]|f[^a]|fa[^x]|fax[^o]|faxo[^u]|faxou[^t])+$/",</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">"GOT:
ipp-features-supported=\"airprint-1.4\"",</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">"GOT:
ipp-features-supported=\"faxout\""</span></font></font></span></font></p>
<p style="margin-bottom:0in"><font color="#000000"><span style="text-decoration:none"> <font face="Helvetica, serif"><font size="3"><span style="font-weight:normal">);</span></font></font></span></font></p>
<p style="margin-bottom:0in"><br>
What's wrong with my returned attribute value ? I think I obey the
rule in section 8.1 ipp-features-supported (1setOf type2 keywork)
in [PWG5100.15-2014].</p>
<p style="margin-bottom:0in">Regards<span class="HOEnZb"><font color="#888888"><br>
</font></span></p><span class="HOEnZb"><font color="#888888">
<p style="margin-bottom:0in">Walter<br>
</p>
<p style="margin-bottom:0in"><br>
</p>
<p style="margin-bottom:0in"><br>
</p>
</font></span></div>
<br>_______________________________________________<br>
ipp mailing list<br>
<a href="mailto:ipp@pwg.org">ipp@pwg.org</a><br>
<a href="https://www.pwg.org/mailman/listinfo/ipp" target="_blank">https://www.pwg.org/mailman/listinfo/ipp</a><br>
<br></blockquote></div><br>