[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [Fwd: Re: Question on Container Events]
Just redirecting to the OASIS WSRP alias. To summarize the issue The JSR 286 spec point to the WSRP spec for Container Events. i.e Container Events(PLT.15.3) points to WSRP spec (5.11) Here is the snippet from WSRP spec 5.11 Defined Events This specification defines the following events in the interest of promoting interoperability on a set of commonly encountered scenarios. All of these are defined within the WSRP types namespace (i.e. urn:oasis:names:tc:wsrp:v2:types). --------------------------------------------------- Based on the above the following declaration the following in portlet.xml: <portlet-app> <portlet> .............. <supported-processing-event> <qname xmlns:x="urn:oasis:names:tc:wsrp:v2:types"> x:wsrp:eventHandlingFailed </qname> </supported-processing-event> </portlet> </portlet-app> results in a schema validation exception: org.xml.sax.SAXParseException: cvc-datatype-valid.1.2.1: 'x:wsrp:eventHandlingFailed' is not a valid value for 'QName' Discussion on the JSR286 EG says: depends on how we read this, it should just indicate that the event is in the wsrp namespace. i.e intepert the above as x:eventHandlingFailed i.e drop wsrp: since its not a valid QNAME But this quite confusing since the WSRP spec in all the places uses string like wsrp:view , wsrp:edit literally. Comments ? regards Rajesh T On 14-Feb-08, at 7:29 PM, Deepak Gothe wrote:
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]