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

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp-interop message

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


Subject: Another Event issue: No-namespace payloads are not xsd valid.


The spec allows for events to have no namespace (localpart only). However the xsd does not. The xsd defines the payload child as <any namespace="##other"/> however this is not valid when the child elements has no namspace. E.g:

<wsrp2:payload>
    <myPayload xmlns="">...</myPayload>
</wsrp2:payload>

This is because the ##other is defined as follows:
##otherAny well-formed XML that is from a namespace other than the target namespace of the type being defined (unqualified elements are not allowed)

I propose changing the xsd to be ##any and adding a conformance statement:
The payload's child MUST NOT belong to the WSRP2-Types namespace.

Also, do we want to consider this for extensions?

Thanks,

Nate


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