W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2001

Re: performance wise, is there any difference between dtd validation v/s schema validation?

From: Morris Matsa <mmatsa@us.ibm.com>
Date: Wed, 15 Aug 2001 14:40:49 -0400
To: komal mangtani <mkomal@bea.com>
Cc: xml schema <xmlschema-dev@w3.org>
Message-ID: <OFA7D88A10.7BAA08E0-ON85256AA9.0065FDB6@sby.ibm.com>


In practice, schema validators are newer and seem to therefore not be
optimized yet and slower.

In theory, it depends on your schema.  If you ask the DTD to validate only
the content model, and ask the schema to run a regular expression over
every bit of text, then of course the schema validation will be slower ---
it's doing a lot more.  If you were going to do that validation anyway in
your application, and you no longer need to, then your entire application
might run just as fast.

Of course, some validators are faster than others.  Try them out and
compare.


komal mangtani <mkomal@bea.com>@w3.org on 08/15/2001 02:21:30 PM

Sent by:  xmlschema-dev-request@w3.org


To:   xml schema <xmlschema-dev@w3.org>
cc:
Subject:  performance wise, is there any difference between dtd validation
      v/s   schema validation?



which is faster? or there is no difference?
Komal.
Received on Wednesday, 15 August 2001 14:45:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:23 GMT