XML and RDF parsers

Graham Klyne gk at ninebynine.org
Wed Jul 14 11:21:14 EDT 2004


Further to my work on HaXml announced last month [1][2][3][4], I've added 
two new filters to perform xml:base and xml:lang processing, and fixed up 
some minor problems.  The code is available at [5], with browseable 
directories at [6].

I've also developed an RDF/XML parser as part of my Swish project [11] (the 
RDF/XML parser can be used separately from all the other Swish 
components);  the code is at [7], with browseable online directories at [8].

All this has a dependency on some revised network modules [9][10].

...

As part of developing the RDF/XML parser, I believe I have identified a 
fairly significant problem with HaXml's handling of whitespace.  The core 
fix is, I believe, quite easy, but there are knock-on changes required to 
the validation   module and 20-30 of the test suite test cases.  The code 
changes could cause some existing HaXml applications to break because they 
would result in additional content items in the resulting XML data 
containing just whitespace text -- e.g. whitespace appearing between 
elements would be returned to the application.

#g
--

[1] http://www.haskell.org//pipermail/libraries/2004-June/002243.html

[2] http://www.haskell.org//pipermail/libraries/2004-June/002266.html

[3] http://www.haskell.org//pipermail/libraries/2004-June/002276.html

[4] http://www.haskell.org//pipermail/libraries/2004-June/002282.html

[5] http://www.ninebynine.org/Software/HaskellUtils/20040713-Haxml-1.12.zip

[6] http://www.ninebynine.org/Software/HaskellUtils/HaXml-1.12/

[7] http://www.ninebynine.org/Software/HaskellRDF/20040713-HaskellRDF.zip
     http://www.ninebynine.org/Software/HaskellUtils/20040713-HaskellUtils.zip

[8] http://www.ninebynine.org/Software/HaskellRDF/
     http://www.ninebynine.org/Software/HaskellUtils/

[9] http://www.ninebynine.org/Software/HaskellUtils/20040609-Network.zip

[10] http://www.ninebynine.org/Software/HaskellUtils/Network/

[11] http://www.ninebynine.org/RDFNotes/Swish/Intro.html



------------
Graham Klyne
For email:
http://www.ninebynine.org/#Contact



More information about the Libraries mailing list