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

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://lists.orbitalfox.eu/archives/gemini/attachments/20201223/3792
4367/attachment.htm>

---

Previous in thread (10 of 27): 🗣️ John Cowan (cowan (a) ccil.org)

Next in thread (12 of 27): 🗣️ Luke Emmet (luke (a) marmaladefoo.com)

View entire thread.