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

Re: wutka DTD parser question

  • From: bob mcwhirter <bob@w...>
  • To: Wendi Sisson <wsisson@e...>
  • Date: Tue, 02 Oct 2001 11:54:17 -0400 (EDT)

wutka dtd

This is exactly what SGML catalogs were meant to solve.

They would allow you to define DTDs in terms of SYSTEM
(not PUBLIC) identifiers.  A lookup through a catalog
would translate the SYSTEM identifier into a path-to-that-file
on the current system.

Thus, the catalogs would be system-dependent (but can
also be generic, in that they can use relative paths,
with ease).

Though, that's SGML.  

I hear that XML folks are pondering catalogs, but I haven't
seen much progress on that front.  Things would have to become
catalog-aware, to be able to do the extra level of indirection
to find the final, terminal resource.

Ahh, well.

	-bob

On Tue, 2 Oct 2001, Wendi Sisson wrote:

> Many of you on this list recommended the wutka DTDParser to me in
> previous emails. If anyone has some experience using it, I could use
> some help on this one point: If I am parsing a DTD and it refers to
> another DTD in an entity, is there any way I can "resolve" the path to
> that DTD like the EntityResolver does for Doctypes is an XML document?
> In other words, the DTD referenced in the entity may not exist in the
> same directory as the current DTD. I do not want to use an absolute path
> because I would have to change it every time we moved from box to box. I
> have had trouble with relative paths. So I really wanted to just
> reference the name of the DTD, with no path at all, in the entity and
> then somehow have the DTDParser call me to ask where to find the DTD,
> like the Xerces DOMParser calls the EntityResolver. Is anyone aware of a
> solution? Thanks, Wendi


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.