[rfc-i] Reminder: xml2rfc v2 transition
tbray at textuality.com
Mon Apr 7 18:59:56 PDT 2014
If you use an XML-savvy editor, most of them are pretty good at
showing you where you went off the rails. Particularly if there’s a
DTD. Dunno about vim, but emacs has a mode that will do it.
On Mon, Apr 7, 2014 at 6:58 PM, John Levine <johnl at taugh.com> wrote:
>>Though a tool to diagnose invalid XML would be generic, it doesn't
>>depend on the particular schema involved. Perhaps someone has written
>>a tool that provides good diagnostics and we could reuse it?
> The problem is that it will often report things like "unclosed <foo>"
> at the end of the document. Providing a useful guess about which
> <foo> is the one that is missing the </foo>, particularly when the
> foo's can be nested, requires a lot of heuristic knowledge of the way
> that <foo> is likely to be used which is extremely specific to a
> particular schema, not to mention requiring mind reading.
> I concur with the advice to ask the list if you can't figure it out
> yourself, since the response will usually be oh, yeah, that problem.
> rfc-interest mailing list
> rfc-interest at rfc-editor.org
More information about the rfc-interest