ikorin24 / U8XmlParser

Extremely fast UTF-8 xml parser library
MIT License
95 stars 13 forks source link

Fix for parsing attribute contains whitespace. #20

Closed ikorin24 closed 2 years ago

ikorin24 commented 2 years ago

Allow whitespace before and after the attribute =. Whitespace means ' ', '\t', '\n', and '\r'.

This PR will allow node2, node3, and node4 in the following.

<root>
  <node1 name="value" />

  <node2 name ="value" />
  <node3 name= "value" />
  <node4 name=
    "value" />
</root>

close #17