[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: Re: Re: Hostility to "binary XML"
  • From: richard@i... (Richard Tobin)
  • Date: Tue, 23 Nov 2004 22:15:56 +0000 (GMT)
  • Cc:
  • In-reply-to: <41A3B1AC.9070507@j...>
  • Organization: HCRC, University of Edinburgh

>I have always been of the opinion that, at least for certain classes of 
>documents, validation could be used to speed the process up. If certain 
>VCs were considered fatal errors, then character checking would be 
>reduced for start tags (i.e., instead of checking that a character is a 
>valid XML character, you would check if the name is valid according to 
>the DTD).

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.

-- Richard

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member