If you aren't validating, then a significant amount of work isn't done that
otherwise would be. Though we took pains to make validation as light weight
as possible, its still a reasonable amount of work, according to how complex
your content models are. We have specialized content models for things like
'x|y|x' or 'a,b' and stuff like that. When move beyond those simple ones, we
have to do a generalized DFA mechanism, which is considerably heavier,
though its still amazingly efficient for what it provides.
I've never measured it myself, but I'd take a wild guess that DTD validation
might add a 10% overhead on average, and perhaps a bit more if its a really
hairy DTD. But that's a complete guess.
I think that Schema validation could be signficantly higher in some cases,
again according to how hairy the Schema is and whether it uses Schema
services that are difficult to do efficiently (and there are a good number
of such I think.)
--------------
Dean Roddey
Software Geek Extraordinaire
Portal, Inc
[EMAIL PROTECTED]
-----Original Message-----
From: Awasthi, Anand [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 2:51 PM
To: '[EMAIL PROTECTED]'
Subject: faster parsing in well formed only mode !!
Hi,
I belive that if we use Xecres parser to parse a well formed XML document
only ( no validations againat DTD/Schema), then parsing time reduces
considerably.
does any one hear support my thought ??
has any one ever done perofrmance comparsion for xerces parser in well
formed Vs valid modes ??
thanks
Anand
-----Original Message-----
From: Peter Allen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 12:30 PM
To: [EMAIL PROTECTED]
Subject: RE: XML Schema support
OK, now I'm confused. The web page says
"Initial support for XML Schema (draft W3C standard)
is also provided."
under the xerces section. It does not qualify this
as applying to xerces-j only. I wish I'd known this...
-Pete
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 27, 2001 1:01 PM
> To: [EMAIL PROTECTED]
> Subject: Re: XML Schema support
>
>
> Yes, partial support should be available before summer. Stay tuned.
>
> Tinny
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]