[spec] What to do of fragments when there is a redirection

William Orr will at worrbase.com
Wed Dec 23 22:22:25 GMT 2020
Wouldn't this be dependent on the other discussion of IRIs, since gemtext can have arbitrary unicode? Also would require clients to NFC normalize the prefix/heading lines before doing the matching.

23 dic. 2020 19:40:00 John Cowan <cowan at ccil.org>:

> 
> 
> On Tue, Dec 22, 2020 at 7:51 PM Philip Linde <linde.philip at gmail.com> wrote:
> ?
>> It might be more robust to define the fragment as referring to the
>> first heading line that has the fragment content as a prefix, but
>> that's still prone to break with document changes.
> 
> Even HTML fragments break if their referents are deleted.? Nothing is completely immune.
>> For a good balance, one might have the fragment be a an exact match of
>> the heading line you refer to
> 
> That's reasonable, but I think a prefix match would suffice; that way you aren't tempted to make headings overly short in order to keep fragments small.
> 
> 
> 
> John Cowan ? ? ? ? ?http://vrici.lojban.org/~cowan ? ? ? ?cowan at ccil.org
> In politics, obedience and support are the same thing. ?--Hannah Arendt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailing-list-archive.gemi.dev/www/attachments/20201223/37924367/attachment.htm>


Archive home | About this archive