RE: [xml-dev] XML Catalogs and Public Ids

From
Leigh Dodds <>
To
John Cowan <>
Date
2003-01-21T16:21:33
ID
<>
Thread
RE: [xml-dev] XML Catalogs and Public Ids
Hi John,

> From: John Cowan [mailto:]
...
> > So public ids are 
> > only useful if the system identifier isn't available.
> 
> Not so.  A system identifier matches only if there is a system, rewriteSystem,
> or delegateSystem entry in the catalog.  So if there are none of these,
> then as long as prefer="public" is set (which it should always be), then
> public, rewritePublic, and delegatePublic rules are applied.

Of course, yes. That was staring me in the face.

> There are two cases in which a public id can exist without a system id:
> in a NOTATION declaration, and after delegating to a new catalog via
> delegatePublic (in which case the original system id is discarded).

I'd missed this also. Is there any particular reason why the system id is 
discarded, or is this another hold-over from TR9401?

Cheers,

L.