opening stack "revStandaloneSettings" in a script [was:error in test contion

Monte Goulding monte at sweattechnologies.com
Thu Nov 7 19:58:22 EST 2013


On 08/11/2013, at 11:31 AM, Mark Wieder wrote:

> It *is* a big deal if you try to convert the property list to xml. You
> can't have commas in xml tags, so you either have to convert them and
> then convert them back or use <key>blah,blah</key><value>blah</value>
> syntax. Ran into this doing the stack-to-xml conversion.

Hmm... given you can have all sorts of chars in property keys it's probably not the best plan to use them as tags. Lots of other ways to skin that cat though. Attributes would be easy:
<property name="MacOS,short version">1.0</property>

It's also worth pointing out that lots of people use spaces in custom property keys. dgProps is a good example of that.

Cheers

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!




More information about the use-livecode mailing list