UweSchmidt / hxt

Haskell XML Toolbox
http://www.fh-wedel.de/~si/HXmlToolbox/index.html
124 stars 35 forks source link

Text.XML.HXT.Parser.XmlTokenParser is missing some predefinedXMLEntities #50

Closed ralphtq closed 7 years ago

ralphtq commented 9 years ago

Would like support for   and © (maybe others) in

predefinedXmlEntities   :: [(String, Int)]
predefinedXmlEntities
    = [ ("lt",   60)
      , ("gt",   62)
      , ("amp",  38)
      , ("apos", 39)
      , ("quot", 34)
      ]

I can send a new version of predefines if requested.

UweSchmidt commented 7 years ago

  and © are not predefined XML entity refs. These are defined in HTML. In HXT you can find theses with "http://hayoo.fh-wedel.de/?query=hxt+xhtmlent"