Re: [xml-dev] Re: Hostility to "binary XML"

From
<>
To
Date
2004-11-24T00:18:19Z
ID
<>
Thread
Re: [xml-dev] Re: Hostility to "binary XML"
>> I think that if you really wanted to, you could get 99% of 
>> this speed up anyway.  Don't check the characters, check the 
>> name against the DTD, and then only if it isn't declared 
>> check the characters and then fake a declaration so it will 
>> be quick next time.

>Then you are requiring a schema.

No, as I said, you fake a declaration for undeclared elements.
Something equivalent to <!ELEMENT foo ANY>.  If you aren't doing any
kind of validation, it can just be a list of element names that
you've seen.

I doubt that it would make much difference.  Looking up the name is
likely to take longer than checking that the characters are all name
characters.

-- Richard