POV-Ray : Newsgroups : povray.general : Free Vector Editor exports to POV : Re: Free Vector Editor exports to POV Server Time
31 Jul 2024 16:20:19 EDT (-0400)
  Re: Free Vector Editor exports to POV  
From: Darren New
Date: 22 Apr 2007 15:54:04
Message: <462bbd5c$1@news.povray.org>
Warp wrote:
>> I suspect he means something like UTF-8 getting turned into ASCII.
>   I can't imagine why that would break XML, especially something like SVG.

Well, in general, if the tag name is in Chinese, and you try to 
represent it in ASCII without doing some sort of transcoding, chances 
are it's not going to come out the same.

>>>   XML shouldn't break if extra whitespace is added between elements.
>> This is incorrect. XML in general is whitespace-sensitive.
> 
>   The only thing which I can think can break is text strings,

Err, no. If a tag is defined to not contain a body, then
<tag a="b"></tag>
and
<tag a="b">
</tag>
are two different elements.

In general. Likely something like SVG would be defined to ignore 
whitespace. But you actually do have to ignore it.

> that doesn't *break* the XML file, it just changes the text strings in
> it. It should still be fully valid and readable.

It may still be XML. Just not the XML you thought it was. In much the 
same way as I can take an XHTML file and change <h1> to <x1> everywhere, 
and it'll still be fully valid and readable, but it won't be xhtml.

-- 
   Darren New / San Diego, CA, USA (PST)
     His kernel fu is strong.
     He studied at the Shao Linux Temple.


Post a reply to this message

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