Skip to content

Parser incorrectly accepts elements without closing tags #11

@tfausak

Description

@tfausak

I expected this parse to fail, but it succeeded:

Text.XML.Light.parseXMLDoc "<invalid-xml>"
-- Just Element
--   { elName = QName { qName = "invalid-xml" , qURI = Nothing , qPrefix = Nothing }
--   , elAttribs = []
--   , elContent = []
--   , elLine = Just 1
--   }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions