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

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 UTC