- From: <Toman_Vojtech@emc.com>
- Date: Tue, 4 Nov 2008 02:36:55 -0500
- To: <public-xml-processing-model-comments@w3.org>
> > I think these should probably be dynamic errors and I actually think > 43 subsumes 45. I agree that the codes could be merged together, but why do you want them to be dynamic errors? To be able to use them for options whose value must be a QName, such as in the case of p:add-attribute? <p:declare-step type="p:add-attribute"> <p:input port="source"/> <p:output port="result"/> <p:option name="match" required="true"/> <p:option name="attribute-name" required="true"/> <!-- QName --> <p:option name="attribute-value" required="true"/> </p:declare-step> (Just noticed that for p:add-attribute, the spec just says: "The value of the attribute-name option must be a QName. The corresponding expanded name is used to construct the added attribute." So, if the value is not a valid QName, the spec does not say what error should be raised.) Regards, Vojtech
Received on Tuesday, 4 November 2008 07:38:28 UTC