[Standards] XEP-0122: Data Forms Validation "x:" prefix

Jonas Schäfer jonas at wielicki.name
Mon Jul 8 19:25:44 UTC 2019


On Montag, 8. Juli 2019 13:44:20 CEST Kim Alvefur wrote:
> XEP-0122: Data Forms Validation states
> 
> > The 'datatype' attribute specifies the datatype. This attribute is
> > OPTIONAL, and defaults to "xs:string". It MUST meet one of the
> 
> > following conditions:
> (some others)
> 
> > - Start with "x:", and specify a user-defined datatype.
> > 
> > Note that while "x:" allows for ad-hoc definitions, its use is NOT
> > RECOMMENDED.
> 
> Given that "X-" and similar prefixes are deprecated [RFC6648] it seems
> weird to even have this text, where it's allowed but NOT RECOMMENDED.
> Would it not be better to recommend using clarc notation or similar?

+1 to Clark Notation [1], e.g. {urn:xmpp:foo}local-name

   [1]: http://www.jclark.com/xml/xmlns.htm




More information about the Standards mailing list