W3C home > Mailing lists > Public > public-forms@w3.org > January 2013

Re: XForms 2.0 Draft review: AVTs and deprecated child elements

From: Erik Bruchez <erik@bruchez.org>
Date: Wed, 30 Jan 2013 10:23:07 -0800
Message-ID: <CAAc0PEXFdgVbvfsZdCV=nQABKuqy+7kpSzjf6fMf1Dx0PVPLfQ@mail.gmail.com>
To: Ulrich Nicolas Lissť <unlisse@gmail.com>
Cc: Forms WG <public-forms@w3.org>
I agree, that would be nice.

p3type is generally deprecated, including in attribute form. That's
probably why there is some deprecation text for this one.

-Erik

On Wed, Jan 30, 2013 at 1:43 AM, Ulrich Nicolas Lissť <unlisse@gmail.com> wrote:
> Dear Group,
>
> now that we have AVTs the corresponding child element mark-up is
> deprecated in many places. Currently, we have the prose "...
> (deprecated in favor of using an AVT in the XXX attribute) ..." in
> following places:
>
> - http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_resource_Element
> - http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_method_Element
> - http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_mediatype_Element_.28for_output.29
> - http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_mediatype_Element_.28for_upload.29
> *
> - http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_case_Element_Child_of_the_toggle_Element
> - http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_control_Element_Child_of_the_setfocus_Element
> - http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_name_Child_Element
> - http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_targetid_Child_Element
> - http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_delay_Child_Element
>
> I think it would be better to make this fact more apparent to the
> reader by inserting a leading paragraph (like in
> http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_resource_Element_child_of_load).
> I'm not that familiar with specxml, but maybe there is even some
> mark-up to highlight deprecation visually. Furthermore, the
> deprecation is mentioned in the heading of the p3ptype property
> http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_p3ptype_Property_.28deprecated.29
> while it isn't for any other element.
>
> Regards,
> Uli.
>
> * Deprecating the mediatype element of upload in favor of @mediatype
> is plain wrong. I'll send another mail on this topic.
> --
> Ulrich Nicolas Lissť
>
>
Received on Wednesday, 30 January 2013 18:23:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:58 UTC