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

Re: wutka DTD parser question

  • From: mrossi@c...
  • To: xml-dev@l...
  • Date: Tue, 02 Oct 2001 12:23:46 -0400

wutka
Right answer, but you've got 'em backwards. PUBLIC Identifiers allow you to
use catalog lookups. SYSTEM Identifiers are, well, system-specific. Note
BTW, that you can still use PUBLIC IDs with XML (although you're now
required to place a system ID immediately after them in case you can't
resolve the PUBID). And Bob's also on the right track about the community
pursuing catalog support. OASIS has a TC working on a new open catalog
spec., which I don't think is quite done just yet but should be close. A
quick search of the archives will no doubt turn up some software that
supports it, as I do recall hearing of some. Of course if you (Wendi) can
get the wutka DTD parser to call an Entity Resolver as you suggested, you
could tie in your own catalog resolution function.

Michael A. Rossi
Computer Sciences Corporation
mailto:mrossi@c...
856-983-4400 x4911


                                                                                                                   
                    bob mcwhirter                                                                                  
                    <bob@w...        To:     Wendi Sisson <wsisson@e...>                             
                    om>                  cc:     xml-dev@l...                                             
                                         Subject:     Re:  wutka DTD parser question                      
                    10/02/01                                                                                       
                    11:54 AM                                                                                       
                                                                                                                   
                                                                                                                   


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


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.