Thanks, Egon. I'm sure there are plenty of xml discrepencies.



E.L. Willighagen wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi Bob,

I've looked at the JavaScripts for the documentation, and the XML was not well formed... also, I the process of fixing the JavaScript code.js, I found two database errors...


(the diff is not useful to me)


In other words; the two db errors: - -moveto did not have the close tag for the <img> element.

not surprising! This was from scripts.xls. I've fixed cmds.js and scripts.xls

- -typo: backbond instead of backbone

thanks. Again, in scripts.xls. I've corrected scripts.xls and defs.js



The problem with the XML wellformedness: 1. s+="<a target=\"_blank\" href=\"examples/"+S[i]+"\">"+S[i]+"</a>&nbsp;" which licked the quotes... 2. [<=4.0], as in the def _backbone, needs to be escaped with the added line: s=s.replace(/\[\&lt\;/g,"\[\&amp\;lt\;")

This is interesting. Do all &xxx; have to be escaped in this way? Sort of a double escape? I have to think about this a bit more. There are several occurrances of &lt; just after this. What about them?


+       s=s.replace(/\[\&lt\;/g,"\[\&amp\;lt\;")
        s=s.replace(/\&lt\;cmd/g,"<br />&lt;cmd")
        s=s.replace(/\&lt\;\/cmd/g,"<br />&lt;/cmd")
        s=s.replace(/\&lt\;jmol/g,"<br /><br />&lt;jmol")
        s=s.replace(/\&lt\;\/jmol/g,"<br />&lt;/jmol")


OK, this is corrected now at

http://www.stolaf.edu/people/hansonr/jmol/docs?xml

and

http://www.stolaf.edu/people/hansonr/jmol/scripts.xls




Bob, these files are not yet in CVS, right?


right. I just don't have time to do this right now.

Ok, my next step will be to convert this XML output to DocBook XML...

super.


Egon



- -- [EMAIL PROTECTED]
- ---------------------------------------
CDK: http://cdk.sf.net/
JChemPaint: http://jchempaint.sf.net/
Jmol: http://www.jmol.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (SunOS)


iD8DBQFBi1VCd9R8I9Yza6YRAqSkAJ4rAqKnSYx00aQN38qYgqS5C3rHVQCffmiv
kBd5Xuu4U3PjAaTaqM0ZJ20=
=PS/Q
-----END PGP SIGNATURE-----


------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op�k _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers

-- Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107 Professor of Chemistry, St. Olaf College 1520 St. Olaf Ave., Northfield, MN 55057 mailto:[EMAIL PROTECTED] http://www.stolaf.edu/people/hansonr




------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to