Hi all,
I think this peace of XML cleanly demonstrates excessiveness, low human 
readability and parsing inefficiency:
<atom>
 <property dictRef="gfx:color">
 <scalar type="xsd:string">#ff0000</scalar>
 </property>
 <property dictRef="cml:radius">
 <scalar type="xsd:float" units="units:angstrom">1.2</scalar>
 </property>
</atom>

IMHO, this information could be easily stored as
<atom gfx:color="#ff0000" cml:radius="1.2" cml:radius:units="angstrom"/>

If I'm wrong, please, explain why.


20.03.10, 09:52, "Egon Willighagen" <[email protected]>:

> Hi Sam,
> On Fri, Mar 12, 2010 at 4:09 PM, Sam Adams wrote:
> > 
> >   O.co2
> >   O=CO
> > 
> I always understood that the dictRef was a deep link... not pointing
> to a particular dictionary, but to the matching entry in the
> dictionary... I would have expected something like:
>   O.co2
>   O=CO
> > 
> >   
> >     #ff0000
> >   
> >   
> >     1.2
> >   
> > 
> Is there a convention for this defined?
> The JChemPaint project has been long talking about atom based
> properties and the serialization of them (though no one ever found
> actually time to implement it yet).
> > As part of Chem4Word we are looking into some of these issues (e.g.
> > colouring, radius, default bond angles, functional group
> > representations) and are investigating the possibility of a chemical
> > 'CSS' equivalent.
> This applies to a lot of project: JChemPaint (incl variants), Jmol,
> PyMOL, and likely many others...
> I'd very much like to see these things being discussed on the BO
> mailing list, so that the Blue Obelisk can make a community convention
> for these properties...
> Egon

-- 
Regards,
Konstantin

Яндекс.Почта. Письма есть. Спама - нет. http://mail.yandex.ru/nospam/sign

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Blueobelisk-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/blueobelisk-discuss

Reply via email to