[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

dereferencing DTDs, was: Note from the Troll


parse troll
> From: tblanchard@m... [mailto:tblanchard@m...]
> Sent: Sunday, October 27, 2002 12:50 PM
> To: xml-dev@l...
> Subject:  Note from the Troll
>

(lots of stuff deleted)

> 3) The weight of the processing model is really really heavy.  As an
> example, using URLs to reference DTD's causes all sorts of problems for
> computers when they're off the network.  XML  parsing simply halts.

(Or for that matter, they fail because the remote site is down or lost the
DTD. Happened before, will happen again).

> This is especially annoying when running something like BEA WebLogic on
> your machine because you're doing a web app.  BEA stores config info in
> XML which references some DTD at BEA and the server simply won't start
> if that server isn't available.  You can argue this is a misuse of XML
> - I think so - but its one of those things thats going to hurt people's
> impressions of XML.

Yes. Don't do that. Either do not validate at all, or validate against a
local copy. This is common sense. I'm surprised how frequently people make
this mistake.

BTW: it's not XML's fault. URLs *identify* a DTD for the document. Nobody
says that you must actually retrieve it. Imagine every browser would GET a
document from www.w3.org to parse an HTML document.

> ..

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.