[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] XML 2 so far
- From: Michael Sokolov <sokolov@ifactory.com>
- To: Henri Sivonen <hsivonen@iki.fi>
- Date: Mon, 13 Dec 2010 08:47:35 -0500
On 12/13/2010 12:50 AM, Henri Sivonen wrote:
> I'm not suggesting vocabulary-aware error recovery. I'm suggesting the tokenizer should always transition in a well-defined way on any input character (like the HTML5 tokenizer does) and the tree builder should discard end tag tokens without a matching item on the stack or if there is a matching item on the stack, pop until that item has been popped. (Dealing with unbound prefixes doesn't have such a nice solution, unfortunately.)
>
How about letting unbound prefixes be bound automatically:
<foo:tag> becomes <foo:tag xmlns:foo="foo"> if foo is unbound
Maybe even go further and make it be:
<foo:tag xmlns:foo="foo" xmlns="foo">
-Mike
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]