This might seem nit-picky... but where do are the possible values for the
@type attribute of BindingProperty defined?

I see in the OASIS JMS Binding spec simply this schema def:

776 <complexType name="BindingProperty">
777 <simpleContent>
778 <extension base="string">
779 <attribute name="name" type="NMTOKEN"/>
780 <attribute name="type" type="string" use="optional"
781 default="xs:string"/>
782 </extension>
783 </simpleContent>
784 </complexType>

and our JMSBindingProcessor recognizes the types via code:

    private void parseProperty(XMLStreamReader reader, JMSBinding
jmsBinding) throws XMLStreamException {
        String name = reader.getAttributeValue(null, "name");
        String type = reader.getAttributeValue(null, "type");
        if (name != null && name.length() > 0) {
            Object value = reader.getElementText();
            if ("boolean".equalsIgnoreCase(type)) {
                value = Boolean.parseBoolean((String)value);
            } else if ("byte".equalsIgnoreCase(type)) {
                value = Byte.parseByte(((String)value));
          ...

But where do these values come from?

Thanks,
Scott

Reply via email to