You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refines
Identifies the expression or resource augmented by the element. The value of the attribute must be a relative IRI [RFC3987] > referencing the resource or element being described.
Is the relative IRI true? All the examples I have seen for refines is actually a fragment ID, with the ID referring to a meta element. We would have to find the exact formalism, but I do not think I can say refines="../otherpackage/#otherid", can I?
I'm still kind of torn on this. This was actually what got us into trouble in the first place, now that I think back on it.
We were planning a kind of RDFa lite in the package document, but then were told our hacky use of about to point to IDs was not in keeping with RDFa. From that was born refines, where if you actually needed RDFa you could swap out the ID with the resource.
I guess the one feasible, if highly unlikely, case for leaving it as-is would be that not every resource has to be listed in the manifest. In that case, there won't be an ID to reference so you'd have to make a statement about the resource by putting in its path. Now what on earth you'd be saying about a resource not listed in the manifest... ?
I don't know if this would have survived, but here's an example of a spec-defined use for relative paths in refines: http://idpf.org/epub/do/#h.vb4juhsy12yy
Activity
iherman commentedon Oct 26, 2020
Actually, the same comment may be true for other cross references within the package...
mattgarrish commentedon Oct 26, 2020
You can, but I'm not sure that we've defined reasons for doing so. (Maybe somewhere out in an extension spec?)
All it means is you're asserting some property about the resource.
iherman commentedon Oct 26, 2020
You mean this is allowed? I mean it is allowed per the letter of the text today, but has it ever considered as a valid reference?
mattgarrish commentedon Oct 26, 2020
Ya, if I remember correctly, it's the hacky equivalent of using
aboutorresourcein RDFa to set the subject.mattgarrish commentedon Nov 5, 2020
I'm still kind of torn on this. This was actually what got us into trouble in the first place, now that I think back on it.
We were planning a kind of RDFa lite in the package document, but then were told our hacky use of
aboutto point to IDs was not in keeping with RDFa. From that was bornrefines, where if you actually needed RDFa you could swap out the ID with the resource.I guess the one feasible, if highly unlikely, case for leaving it as-is would be that not every resource has to be listed in the manifest. In that case, there won't be an ID to reference so you'd have to make a statement about the resource by putting in its path. Now what on earth you'd be saying about a resource not listed in the manifest... ?
mattgarrish commentedon Jan 19, 2021
I don't know if this would have survived, but here's an example of a spec-defined use for relative paths in
refines: http://idpf.org/epub/do/#h.vb4juhsy12yymattgarrish commentedon Mar 5, 2021
For this, what if we just recommend referencing publication resources by their manifest ID?
That would match what authors will already do in probably all cases.
iherman commentedon Mar 6, 2021
I think that would be way cleaner, and I do not think it would break any existing case.
@wareid @dauwhe @shiestyle wdyt?