Re: [Standards] References and XHTML-IM interoperability

2016-12-03 Thread Tobias Markmann
On Sat, Dec 3, 2016 at 1:40 PM, Goffi wrote: > In blogging case, we may need to reference something in the title or in the > content. > > id can be used if it's xhtml content but not if it's text content. So I > think > a simplified/basic xpath like expression is more flexible

Re: [Standards] References and XHTML-IM interoperability

2016-12-03 Thread Goffi
Le vendredi 2 décembre 2016, 13:00:06 CET Tobias Markmann a écrit : > Hi all, > [...] > One approach would be requiring IDs on the tags you want to reference. This > way the reference tag could simple refer to that ID, which naturally would > be UUIDs. > > Another would be XPath or XPointer to

Re: [Standards] References and XHTML-IM interoperability

2016-12-02 Thread Kevin Smith
> On 2 Dec 2016, at 22:50, Tobias Markmann wrote: > > >> On Fri, Dec 2, 2016 at 9:51 PM, Kevin Smith wrote: >> We are, but that shouldn't stop me confusing things! >> >> Tobi mentioned that we should use UUIDs, I thought it wasn't necessary,

Re: [Standards] References and XHTML-IM interoperability

2016-12-02 Thread Tobias Markmann
On Fri, Dec 2, 2016 at 9:51 PM, Kevin Smith wrote: > We are, but that shouldn't stop me confusing things! > > Tobi mentioned that we should use UUIDs, I thought it wasn't necessary, > Tobi pointed out that the ID needs to be unique within an XML document (the > XMPP

Re: [Standards] References and XHTML-IM interoperability

2016-12-02 Thread Kevin Smith
> On 2 Dec 2016, at 18:38, Peter Saint-Andre wrote: > >> On 12/2/16 11:32 AM, Kevin Smith wrote: >> >> On 2 Dec 2016, at 18:22, Peter Saint-Andre wrote: On 12/2/16 8:48 AM, Kevin Smith wrote: On 2 Dec 2016, at 15:44, Tobias M

Re: [Standards] References and XHTML-IM interoperability

2016-12-02 Thread Peter Saint-Andre
On 12/2/16 11:32 AM, Kevin Smith wrote: On 2 Dec 2016, at 18:22, Peter Saint-Andre wrote: On 12/2/16 8:48 AM, Kevin Smith wrote: On 2 Dec 2016, at 15:44, Tobias M > wrote: On 2 Dec 2016, at 16:39, Kevin

Re: [Standards] References and XHTML-IM interoperability

2016-12-02 Thread Peter Saint-Andre
On 12/2/16 8:48 AM, Kevin Smith wrote: On 2 Dec 2016, at 15:44, Tobias M > wrote: On 2 Dec 2016, at 16:39, Kevin Smith > wrote: They’re long and (as far as I can see at the

Re: [Standards] References and XHTML-IM interoperability

2016-12-02 Thread Kevin Smith
On 2 Dec 2016, at 15:44, Tobias M wrote: > > >> On 2 Dec 2016, at 16:39, Kevin Smith > > wrote: >> >> They’re long and (as far as I can see at the moment) unnecessary when a >> simple per-stanza counter would

Re: [Standards] References and XHTML-IM interoperability

2016-12-02 Thread Tobias M
> On 2 Dec 2016, at 16:07, Kevin Smith wrote: > > I don’t see why the ids need to be UUIDs (indeed, it seems actively > undesirable for them to be), but yes, referencing by id, or maybe by anchor > seems sensible. Why would it be undesirable for them to be UUIDs?

Re: [Standards] References and XHTML-IM interoperability

2016-12-02 Thread Tobias M
> On 2 Dec 2016, at 16:39, Kevin Smith wrote: > > They’re long and (as far as I can see at the moment) unnecessary when a > simple per-stanza counter would suffice - only uniqueness within a stanza is > needed, not globally, isn’t it? As far as I know, technically an

Re: [Standards] References and XHTML-IM interoperability

2016-12-02 Thread Kevin Smith
On 2 Dec 2016, at 15:37, Tobias M wrote: >> On 2 Dec 2016, at 16:07, Kevin Smith > > wrote: >> >> I don’t see why the ids need to be UUIDs (indeed, it seems actively >> undesirable for them to be), but yes,

Re: [Standards] References and XHTML-IM interoperability

2016-12-02 Thread Sam Whited
On Fri, Dec 2, 2016 at 9:07 AM, Kevin Smith wrote: > I think ‘allergic to dependencies’ is ever so close to NiH, but in this case > I agree that an XPath/XPointer dependency is probably undesirable. I wouldn’t > want to execute network-provided XPath expressions. That's

Re: [Standards] References and XHTML-IM interoperability

2016-12-02 Thread Kevin Smith
On 2 Dec 2016, at 14:56, Sam Whited wrote: > > On Fri, Dec 2, 2016 at 6:00 AM, Tobias Markmann > wrote: >> One approach would be requiring IDs on the tags you want to reference. This >> way the reference tag could simple refer to that ID, which

Re: [Standards] References and XHTML-IM interoperability

2016-12-02 Thread Sam Whited
On Fri, Dec 2, 2016 at 6:00 AM, Tobias Markmann wrote: > One approach would be requiring IDs on the tags you want to reference. This > way the reference tag could simple refer to that ID, which naturally would > be UUIDs. I like this; it's simple, easy to implement, and

[Standards] References and XHTML-IM interoperability

2016-12-02 Thread Tobias Markmann
Hi all, XEP-0372 [1] provides a way to link parts of a plain-text XMPP message to related content, either via a URL or XML content inline of the reference tag. People are going to want at least some rich text support in their messages, simple stuff like bold/italics/underline, or lists, etc. As