"Terje Bless" <[EMAIL PROTECTED]> writes:
> On 01.08.01 at 20:26, Jason E. Stewart <[EMAIL PROTECTED]> wrote:
> >
> >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.
Check out t/EntityResolver.t for an example of using XML Catalog. This
is pretty rudimentary, but it does what you asked for (ask and ye
shall recieve ;-)
> 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?
The one I looked at was:
http://home.ccil.org/~cowan/XML/XCatalog.html
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]