Name:             xml-basic
Version:          0.1.3
License:          BSD3
License-File:     LICENSE
Author:           Henning Thielemann <haskell@henning-thielemann.de>
Maintainer:       Henning Thielemann <haskell@henning-thielemann.de>
Category:         XML
Synopsis:         Basics for XML/HTML representation and processing
Description:
  We provide basic data types for XML representation,
  like names, attributes, entities.
  Yes we try hard to get type safe XML handling out of Haskell 98.
  We also provide information about exceptional HTML tags,
  like self-closing tags.
  This package provides common functionality
  that is both needed in list (tagchup) and tree (wraxml) representations of XML.
Tested-With:       GHC==6.8.2, GHC==6.10.4, JHC==0.7.3
Cabal-Version:     >=1.6
Build-Type:        Simple
Source-Repository head
  type:     darcs
  location: http://code.haskell.org/~thielema/xml-basic/

Source-Repository this
  type:     darcs
  location: http://code.haskell.org/~thielema/xml-basic/
  tag:      0.1.3

Flag splitBase
  description: Choose the new smaller, split-up base package.

Library
  Build-Depends:
    explicit-exception >=0.1.3 && <0.2,
    data-accessor >=0.2 && <0.3,
    semigroups >=0.1 && <1.0,
    utility-ht >=0.0.13 && <0.1
  If flag(splitBase)
    Build-Depends:
      containers >=0.1 && <0.6,
      base >= 2 && <5
  Else
    Build-Depends:
      base >= 1.0 && < 2
    If impl(jhc)
      Build-Depends:
        containers >=0.1 && <0.6,
        applicative >=1.0 && <1.1
    Else
      Build-Depends:
        special-functors >=1.0 && <1.1

  GHC-Options:      -Wall
  Hs-Source-Dirs:   src
  Exposed-Modules:
    Text.HTML.Basic.Tag
    Text.HTML.Basic.String
    Text.HTML.Basic.Character
    Text.HTML.Basic.Entity
    Text.XML.Basic.Tag
    Text.XML.Basic.ProcessingInstruction
    Text.XML.Basic.Attribute
    Text.XML.Basic.Name
    Text.XML.Basic.Name.MixedCase
    Text.XML.Basic.Name.LowerCase
    Text.XML.Basic.Name.Qualified
    Text.XML.Basic.Position
    Text.XML.Basic.String
    Text.XML.Basic.Character
    Text.XML.Basic.Entity
    Text.XML.Basic.Format
  Exposed-Modules:
    Text.XML.Basic.Utility