Re: We need a EBNF spec

On Mon, 9 Jan 2006, Felix Sasaki wrote:
> > 
> > Personally I would discourage the use of BNF, however, as it makes it 
> > very difficult to define error handling rules, and specifications 
> > often forget to define how to go from the parsed tree to the semantics 
> > that the specification defines, leaving it up to UA implementors to 
> > work out the implied mapping.
> > 
> > For example, as far as I can tell, there is nothing in the XML 1.0 
> > spec that says what the syntax of an XML Declaration (as found in a 
> > prolog) is.
> 
> http://www.w3.org/TR/REC-xml/#NT-XMLDecl does not fulfill your needs?

Nowhere in the prose does it say that the "XMLDecl" production is the XML 
Declaration. That is entirely my point.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 9 January 2006 19:24:43 UTC