-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta
-
generic
-
generic
Name: ooR10006 Date: 03/05/2001
1. There is no reference in JobState specification to IPP 'keyword'(RFC2911)
associated with each enum value of JobState (i.e."job-state") attribute.
Probably, the value returned by JobState element's toString() should
correspond to the IPP 'keyword' specified for each attribute enum value:
for UNKNOWN its "unknown", for PENDING its "pending", etc.
If so, this should be specified.
2. It is unclear in the specification of javax.print.attribute.EnumSyntax class
whether the EnumSyntax[] array returned by getEnumValueTable() should
correspond to declared public enum members one-to-one or may contain some
additional elements.
The spec for getEnumValueTable() says:
"...If an integer within the above range is not used by any enumeration value,
leave the corresponding table element null..."
But it's unclear whether an integer is considered to be "used" only if it
corresponds to a declared public static enum element or not.
The same is true for String[] array returned by getStringTable().
======================================================================