POV-Ray : Newsgroups : povray.general : Random thoughts about povray and xml : Re: Random thoughts about povray and xml Server Time
3 Aug 2024 14:11:22 EDT (-0400)
  Re: Random thoughts about povray and xml  
From: Christopher James Huff
Date: 20 Mar 2004 18:20:14
Message: <cjameshuff-314FD3.18202420032004@news.povray.org>
In article <405ca493@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

>   What I wonder is this: If XML is not intended to be written and read
> by humans, then why make it so bloated? Why not make a compact binary
> format instead?

Because it's harder to read and write binary data in a portable way. 
However, there's no reason that it couldn't be a compact ASCII format. 
YAML, for example, is very easy to read, is compact, and no more 
difficult to parse or write:
http://yaml.org/start.html


>   Imagine for example an image format in XML. What the h*** would be the
> idea with that?

http://www.w3.org/TR/SVG/

"This specification defines the features and syntax for Scalable Vector 
Graphics (SVG) Version 1.1, a modularized language for describing 
two-dimensional vector and mixed vector/raster graphics in XML."

I thought it sounded great...up until that last part.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

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