Bugs item #2874158, was opened at 2009-10-07 15:21
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428740&aid=2874158&group_id=40728

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: File Translation
Group: 2.2.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: CML 1.0 Output Error: Unknown element "floatg"

Initial Comment:
Openbabel 2.2.3 ( Aug 18 2009 -- 16:21:20) on Windows XP, GUI and command line:

Output to CML Version 1 has the following bug:

Output of coordinate value elements are in a "floatg" element, that does not 
exist in CML, it should be "float". Probably an error
cause by inproper string handling, the element name "string" just before 
"float" leaks a "g" ?!

Example:

<molecule xmlns="http://www.xml-cml.org/dtd/cml_1_0_1.dtd"; id="Oct-1-ene">
 <atomArray>
  <atom id="a1">
   <string builtin="elementType">C</string>
   <floatg builtin="x3">4.206433</floatg>
______^_______________________^____

Example input that yields this error:

>babel.exe -icml oct-1-ene.cml -ocml test.cml -x1


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428740&aid=2874158&group_id=40728

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to