Is "P0Y0M0DT0H0M0.0S" a valid value for a WSRM expires element?
Apache CXF appears to use this value as a default.
However, the latest 1.2 WS-RM Oasis spec indicates...
This el开发者_Python百科ement, if present, of type xs:duration specifies the duration for the offered Sequence. A value of "PT0S" indicates that the offered Sequence will never expire. Absence of the element indicates an implied value of "PT0S".
Are far as XML Schema is concerned, the two strings "P0Y0M0DT0H0M0.0S" and "PT0S" are both lexical representations of the same duration value (0).
精彩评论