OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

dsml-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: [dsml-comment] Bug in DSMLV2.xsd AttributeDescriptionValue


I just took a deep look into DSML V2 Specification and I am afraid I found
a bug in the definition of AttributeDescriptionValue simple type.
Please correct me otherwise.

The original definition reads:

<!-- ***** AttributeDescriptionValue ***** -->
<xsd:simpleType name="AttributeDescriptionValue">
	<xsd:restriction base="xsd:string">
		<xsd:pattern value="((([0-2](\.[0-9]+)+)|
([a-zA-Z]+([a-zA-Z0-9]|[-])*))(;([a-zA-Z0-9]|[-])+)*)"/>
	</xsd:restriction>
</xsd:simpleType>

This allows the AttributeDescriptionValue to be an OID
- covered by "([0-2](\.[0-9]+)+)" pattern -
or a literal name starting with an ASCII character
- covered by "([a-zA-Z]+([a-zA-Z0-9]|[-])*)" -

The type AttributeDescriptionValue is used in the SearchRequest to specify the list of
attributes to be returned. RFC 2251 defines 2 special values for this list,
"*" to return all user attributes, and "1.1" to return no user attributes. Whereas the
OID formatted latter value is covered by the pattern in AttributeDescriptionValue
simple type, the first is not.

--
Dr. Annette Sündermann
Zenturion GmbH
Postfach 1248,  85730 Ismaning
Tel.: 089/638 76 706 Fax: 089/638 76 707
Internet: http://www.zenturion.de


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC