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

 


Help: OASIS Mailing Lists Help | MarkMail Help

dsml message

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


Subject: [dsml] Ambiguity of 'attr' Element


With the exception of the 'attr' element, every unique element in the
schema has a unique semantic interpretation i.e. has a unique 'type'
attribute.  The 'attr' element has 3 possible interpretations:

        <xsd:element name="attr" type="AttributeValueAssertion"/>
        <xsd:element name="attr" type="DsmlAttr" minOccurs="0"
maxOccurs="unbounded"/>
        <xsd:element name="attr" type="DsmlModification" minOccurs="0"
maxOccurs="unbounded"/>

This means that the interpretation of the 'attr' element within a DSML
message is dependent on its context.

I suggest we change these 3 occurrences to:

        <xsd:element name="assertion" type="AttributeValueAssertion"/>
        <xsd:element name="attr" type="DsmlAttr" minOccurs="0"
maxOccurs="unbounded"/>
        <xsd:element name="mod" type="DsmlModification" minOccurs="0"
maxOccurs="unbounded"/>

to provide a more uniform element interpretation.

-- Nigel




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


Powered by eList eXpress LLC