cvs commit: HaXml/src/Text/XML/HaXml/DtdToHaskell Convert.hs Instance.hs TypeDef.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/DtdToHaskell Convert.hs Instance.hs 
                                    TypeDef.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.6       +6 -2      HaXml/src/Text/XML/HaXml/DtdToHaskell/Convert.hs
  1.5       +6 -0      HaXml/src/Text/XML/HaXml/DtdToHaskell/Instance.hs
  1.6       +6 -2      HaXml/src/Text/XML/HaXml/DtdToHaskell/TypeDef.hs