|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Public Identifiers
Paul said: > If any tool is going to be able to use the public id to access an > actual resource, there needs to be some way to resolve it such as > a catalog. > > The caveat is that all the tools you use need to have catalog support, > and many XML processors don't yet. But, as per my earlier postings [1], > adding catalog support may not be that difficult (and I hope that more > XML and XSLT and similar processors add catalog support--maybe xml-dev > can help push this request). even if I can get some XML parser to support this, what I would really like would be a standard way of doing this between different parsers. Perhaps this could be something for SAX 3?? (sure its probably a ways off, but no reason we can't discuss it, right?? and if we get parser to support something which is SAX 3 -ish, it'll make our ports later that much easier...) registering a catalogue should be simple enough, something like: MyDTDCatalog catalog = new MyDTDCatalog; reader.setDTDCatalog(catalog); of course, the real trick is going to be figuring out what the methods, etc. for "MyDTDCatalog" should be. but I'd like to open up some discussion on it. (of course, there should be a similar thing in DOM, but I don't know anything about DOM...) Imran
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








