You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Ch...@gallup.com on 2001/06/18 20:48:22 UTC

xml schemas - a reason not to use them

Is there any reason why not to use xml schemas over dtds???

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: xml schemas - a reason not to use them

Posted by Brad O'Hearne <br...@neurofire.com>.
Dtd validators in general are going to be faster.  And I think the most
common reason I have seen for using DTD's over schemas is that a lot of
people who are doing the spec work don't understand schemas.  The two
biggest barriers I have encountered in doing B2B XML integration is that
first, many of those at the business level aren't used to being required to
provide such a rich level of detail to their specs (and thinking through the
implications of those decisions) and second, that they don't have XML
expertise.  Schemas exacerbate both of those problems, as they are a higher
level of complexity.

BradO

----- Original Message -----
From: "Gregory Steuck" <gr...@nest.cx>
To: <xe...@xml.apache.org>
Sent: Monday, June 18, 2001 12:15 PM
Subject: Re: xml schemas - a reason not to use them


> On Mon, Jun 18, 2001 at 01:48:22PM -0500, Christian_Seifert@gallup.com
wrote:
>  > Is there any reason why not to use xml schemas over dtds???
>
> Speed? I'm guessing. Does anybody know if dtd validation is faster than
schema?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: xml schemas - a reason not to use them

Posted by Gregory Steuck <gr...@nest.cx>.
On Mon, Jun 18, 2001 at 01:48:22PM -0500, Christian_Seifert@gallup.com wrote:
 > Is there any reason why not to use xml schemas over dtds???

Speed? I'm guessing. Does anybody know if dtd validation is faster than schema?

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: xml schemas - a reason not to use them

Posted by Michael Duffy <du...@yahoo.com>.
If your XML document only uses DTD features(e.g., only
parsed character data, so there's no need for types;
no cardinality other than *, +, or ?, so there's no
need for min & max occurs; no regular expression
pattern checking), you can get by without using
schemas.

I'd still prefer schemas, because they're XML, too.  A
person reading your schema can glean your intent more
easily than they can from a DTD.

--- Christian_Seifert@gallup.com wrote:
> Is there any reason why not to use xml schemas over
> dtds???
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> xerces-j-user-help@xml.apache.org
> 


__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org