POV-Ray : Newsgroups : povray.off-topic : XML rant : Re: XML rant Server Time
5 Sep 2024 15:28:37 EDT (-0400)
  Re: XML rant  
From: Patrick Elliott
Date: 22 Jun 2009 00:06:43
Message: <4a3f0353$1@news.povray.org>
Warp wrote:
> 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?
> 
Or.. It downloaded wrong (still does happen), got corrupted somehow, 
your application you wrote yourself isn't "writing" it out correctly, etc.

Would be different, I supposed, if they had made it like code, and the 
start tag was a "name", and everything else was between {}, or 
something, but..

-- 
void main () {

     if version = "Vista" {
       call slow_by_half();
       call DRM_everything();
     }
     call functional_code();
   }
   else
     call crash_windows();
}

<A HREF='http://www.daz3d.com/index.php?refid=16130551'>Get 3D Models, 
3D Content, and 3D Software at DAZ3D!</A>


Post a reply to this message

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