- From: John Cowan <cowan@ccil.org>
- Date: Fri, 17 Jul 2009 12:21:27 -0400
- To: "Grosso, Paul" <pgrosso@ptc.com>
- Cc: public-xml-core-wg@w3.org
Grosso, Paul scripsit:
> > The syntax bans any duplicate pseudo-attrs.
>
> No, syntax can't do that. Banning duplicate attributes is part
> of the semantic processing. In the case of XML, it's a WFC
> (WFC Unique Att Spec) which gets applied after the syntactic parsing.
I think this is an overly limited understanding of "syntax"; I consider
WFCs to be syntactic constraints that don't happen to be readily expressible
in the BNF.
> There is no a priori reason we need to ban duplicate pseudo-atts
> before ignoring unknown ones.
No, but it's not a silly idea either.
--
How they ever reached any conclusion at all <cowan@ccil.org>
is starkly unknowable to the human mind. http://www.ccil.org/~cowan
--"Backstage Lensman", Randall Garrett
Received on Friday, 17 July 2009 16:22:03 UTC