POV-Ray : Newsgroups : povray.off-topic : XML rant : Re: XML rant Server Time
5 Sep 2024 15:25:54 EDT (-0400)
  Re: XML rant  
From: Warp
Date: 21 Jun 2009 14:57:00
Message: <4a3e827c@news.povray.org>
Orchid XP v8 <voi### [at] devnull> wrote:
> Warp wrote:

> >   I never understood why the closing tag must be named. What's the point?

> A tiny increase in the ability to handle or at least detect malformed XML.

  Why should a program be able to try to guess what a malformed XML file
might be trying to say? There's no way of unambiguously tell what the
properly-formatted version would have looked like.

  And if the XML file is malformed, it means that a person wrote it by hand.
Wouldn't it be better to directly tell the person that there's a mistake in
the file, rather than try to hide it, and possibly interpret it wrongly?

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.