Re: [Tools-discuss] bug report: autogenerated section links
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tools-discuss] bug report: autogenerated section links



Hi Peter,

On 2009-09-11 18:45 Peter Saint-Andre said the following:
> It seems that the I-D HTML output autogenerates internal links to things
> like "Section *.*" even if the text is referring to an external
> document. See for example:
> 
> http://tools.ietf.org/html/draft-ietf-xmpp-3920bis-01#section-12.1

Yes.  This is because these HTML versions are generated straight from
the text documents, not from for instance XML source, and the generation
is basically regex-based; i.e., the text document is *not* parsed into
a datastructure where for instance references could be resolved to
documents and appropriate external html links could be generated.  I'm
not saying that it wouldn't be great to have a parser, rather than
just a regex-based conversion, but that requires more work than I've had
time for.

I can suppress link generation for the special case of 'Section X.Y of [ref]'
(and similar), but generating sensible links for this case and the 
'Section 2.6 therein' case seems out of reach at the moment.


Regards,

	Henrik



Note: Messages sent to this list are the opinions of the senders and do not imply endorsement by the IETF.