cvs commit: HaXml/src/Text/XML/HaXml Xml2Haskell.hs

Malcolm Wallace malcolm@glass.cse.ogi.edu
Tue, 13 May 2003 06:05:34 -0700


malcolm     2003/05/13 06:05:34 PDT

  Modified files:
    src/Text/XML/HaXml   Xml2Haskell.hs 
  Log:
  Add tentative support for the ANY content spec.  Obviously we don't
  have a universal type in Haskell, so for the moment ANY converts to a
  dummy (empty) type ANYContent, which throws away everything contained
  within this element.  This might be OK as an approximation, because
  an ANY type is often declared as a way of including some random other
  XML document, of which the processor need have no knowledge.
  
  Revision  Changes    Path
  1.9       +17 -9     HaXml/src/Text/XML/HaXml/Xml2Haskell.hs