Re: FoX - an XML toolkit for Fortran
- From: Arjen Markus <arjen.markus@xxxxxxxxxx>
- Date: Mon, 7 Apr 2008 02:22:35 -0700 (PDT)
On 28 mrt, 19:30, Toby <t...@xxxxxxxxxxx> wrote:
I'd like to present FoX; a standards-compliant XML toolkit written
purely in Fortran 95.
With the public release of version 4.0, FoX now supports the whole of
XML 1.0 as a
fully validating parser, tested against the W3C XML testsuite.
FoX also understands all of XML Namespaces, xml:id and xml:base.
It provides both input and output APIs
* the output API is a streaming writer which guarantees the well-
formedness of all XML output.
* the input API provides both a SAX-like interface, offering all the
features of SAX version 2,
and a full W3C-compliant DOM (tested against the W3C DOM testsuite),
covering all of Core
Levels 1, 2, and most of 3.
FoX is completely written in Fortran, avoiding any issues with cross-
language compatibility,
and is extensively tested across multiple compilers.
Further details can be found at:http://www.uszla.me.uk/FoX/
The source is BSD-licensed, and is available fromhttp://www.uszla.me.uk/FoX/source/
--
Dr. Toby O. H. White
Dept. Earth Sciences,
Downing Street,
Cambridge CB2 3EQ
United Kingdom
Web:http://uszla.me.uk
Good, I have not looked at it yet, but it sounds very nice.
I would like to take this opportunity to inform you about my project
to read
XML files in Fortran - http://xml-fortran.sourceforge.net
I just released version 1.00. While I am not sure it will pass all W3C
tests, the
purpose of the library and auxiliary programs is to provide some
pragmatic tools
to deal with XML files. As such, the project offers four different
methods of
reading XML files:
* Reading the files in much the same way as an ordinary text file -
a stream-oriented method
* Directly reading the contents into a data structure that reflects
the structure of the XML file (via the xmlreader program)
* Constructing a tree of data from the XML file with essentially the
same structure
* Processing the contents using "events", in much the same way as
the original Expat library.
The auxiliary program xmlreader in version 1.00 creates both a reading
and a writing routine
based on an XSD-like description of the file. It does not read actual
XSD files, but the program
xsdconvert help converting such files.
(The project now also contains a reference to FoX)
Regards,
Arjen
.
- Prev by Date: Re: Preventing file sharing
- Next by Date: Re: Any libraries for vector mask and vector population count?
- Previous by thread: Re: Preventing file sharing
- Next by thread: glibc??
- Index(es):
Relevant Pages
|
|