← Prev in month ← Prev in thread
Next in thread → Next in month →

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

From
Nathan Lipke <>
Date
2009-11-21T16:22:05+00:00
ID
Thread
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)

See: http://www.w3.org/TR/xmlschema-0/#ref34

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
← Prev in month ← Prev in thread
Next in thread → Next in month →