elm-xml-parser
elm-xml-parser copied to clipboard
XML parser for Elm
If an XML node has a large number of child nodes, the `children` function will overflow the stack because it cannot be tail-call optimized as written. ``` $ elm repl...
The attribute `attr` gets cut: ```Elm $ elm repl > import XmlParser > XmlParser.parse "" Ok { docType = Nothing, processingInstructions = [], root = Element "root" [{ name =...
The textString function discarded all text prior to an escaped character. Example: `XmlParser.parse """"""` => `Ok { docType = Nothing, processingInstructions = [], root = Element "t" [{ name =...
```elm """""" |> XmlParser.parse |> Result.map XmlParser.format ``` が ```elm Ok ("") ``` ではなく ```elm Ok ("") ``` になってしまっている
Thanks for this great library! I hit an issue when parsing CData content ending with a square bracket, `]`: ```xml ]]]> ``` I added some tests for this case and...
The Travis CI build was failing due to an old `node` version and and old `elm-package` install command.
Trying to parse https://www.reddit.com/.rss with `jinjor/elm-xml-parser` version `2.0.0` in `elm repl`, I get the following error: ``` > import XmlParser > XmlParser.parse Test.reddit RangeError: Maximum call stack size exceeded ```...
Currently I have to make Parser a direct dep and use Parser.Advanced to access this for the parser Result But you have a nice wrapper for it in XmlParser but...
Added indentation and newLine to the internal "formatNode" function.