On 01.08.01 at 20:26, Jason E. Stewart <[EMAIL PROTECTED]> wrote:

>You are currently not subscribed to the list, this isn't a problem, it
>just means that all your emails have to come to me first, and then I
>approve them, and then they go to the list. Since it seems like you're
>going to be sending a few emails, you may want to subscribe (send an
>empty message to [EMAIL PROTECTED]).

Ooops! Sorry about that. I'm in the process of switching to a new email
address and I guess I goofed on Xerces-P-Dev. I'll switch over to the new
address. Sorry for the extra work Jason!


>Sadly, XML Catalogs are not part of Xerces. To do this you will need to
>implement an EntityResolver, that grabs the publicId and hands back an
>InputSource for the DTD.
>
>Happily, the EntityResolver interface finally works!!! I'm releasing
>Xerces.pm-1.5.4 tonight which will have support for Xerces-C-1.5.1 and the
>new EntityResolver interface. 

It wouldn't also happen to have an example of using it that I could grab as
a starting point? Nothing fancy; just enough to, say, DOMCount a stock
XHTML 1.0 document (flat DTD)? Grab the FPI at an appropriate moment, do
whatever magic is necessary to create and �hand back an InputSource�, and
then proceede based on that?

Considering that I'll need this for basically _everything_, it's not
entirely unlikely I'll implement some level of Catalog support as a first
step while learning Xerces-P. Full Extended SGML Open Catalogs if I can
pull it off (it may be beyond me tho�). I'd be happy to contribute that
code back if it pans out and you want it BTW.

Oh, and does anyone have a URL for a definition of an "XML Catalog"? I
haven't been able to find a spec for it and the implication is that they
aren't the same as ISO SGML Open Catalogs?



OH, another random idea off the top of my head: You should put out a
request for sampe code in a prominent place in the README to encourage
users to submit sample code to the project. Short of good documentation,
sample code is the best way to learn the details of a new �library� IMO.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to