OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]


>> 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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS