[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: Comments on latest draft
/ Paul Grosso <pgrosso@arbortext.com> was heard to say:
| >| 5) 'rewrite' entries just return a string. I believe you expect the xml
| >| processor to de-reference this string instead of the original system
| >| identifier, but within the same context as the original system identifier.
| >| In other words, relative URIs returned from 'rewrite' entries will be
| >| resolved relative to the document entity that contained the original system
| >| identifier. Is this the intention?
| >
| >John's right, we don't have this one nailed down yet. Now that you
| >raise the issue, I think the prefix should probably be a URI reference
| >and it should be made absolute with the current base URI.
|
| What do you mean by this? When you say "prefix", are you talking
| about the input one or the resulting one? If the returned one, what
| does it mean for it to be a URI reference--I thought it would just be
| a string that replaces the prefix in the original. When you say
| "absolute with the current base URI", current where--in the catalog
| (where it was found as a right hand side) or in the original document?
Given
<catalog xml:base="file:///share/doctypes/">
<rewriteSystem systemIdStartString="http://example.com/"
rewritePrefix="example/">
</catalog>
If this the only catalog entry file, and the resolver is asked to
resolve, "http://example.com/dtds/foo.dtd", what does it return:
1. "example/dtds/foo.dtd"
or
2. "file:///share/doctypes/example/dtds/foo.dtd"
As the 12 Jun draft is written, I think the result is 1, but I now
think the answer should really be 2.
Be seeing you,
norm
--
Norman.Walsh@Sun.COM | The art of living is more like wrestling than
XML Standards Engineer | dancing.--Marcus Aurelius
Technology Dev. Group |
Sun Microsystems, Inc. |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC