For Programmers: Free Programming Magazines  


Home > Archive > Fortran > March 2008 > [ANN] FoX - an XML toolkit for Fortran









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author [ANN] FoX - an XML toolkit for Fortran
Toby

2008-03-28, 7:23 pm

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 from
http://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
Reinhold Bader

2008-03-28, 7:23 pm

Toby schrieb:
> I'd like to present FoX; a standards-compliant XML toolkit written
> purely in Fortran 95.
>

[snip]

In contradiction to http://uszla.me.uk/space/software/FoX/compat/, the
Intel 10.1 compiler on x86_64 (I tried 10.1.008 as well as 10.1.013) fails
to build the package.

The first error is

ifort -c -g -fpp -I../objs/finclude -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_ABORT_ARG -DFC_EOR_LF -DRESTRICTED_ASSOCIATED_BUG
m_common_attrs.F90
fortcom: Error: m_common_attrs.F90, line 284: This name does not have a type, and must have an explicit type. [GET_KEY_INDEX]
character(len=size(dict%list(get_key_ind
ex(dict,key))%d%value)) :: value


My (tentative) opinion is that there is indeed a bug in ifort.

Regards
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com