go version)?go 1.10.2
n/a
go env)?GOHOSTARCH="amd64"
GOHOSTOS="darwin"
There are any plans to add support for XML version 1.1 in the "encoding/xml" lib?
thanks!
What would be required to make this happen?
@summychou Thanks, noted, but please see https://golang.org/wiki/NoPlusOne . Can you answer the question I asked above?
@ianlancetaylor https://www.w3.org/TR/xml11/#sec-xml11
changes in xml 1.1
@ianlancetaylor Processing XML 1.1 documents with XML Schema 1.0 processors
Is there any alternative to parse a 1.1 XML document?
Haven't get a change to go through the XML 1.1 spec yet, but the seems to be mainly on extending further Unicode support.
"XML 1.1 improves on some of the short comings of XML 1.0, notably recognizing end of line. There currently exists a misalignment between what XML and Unicode defines as end of line, this affects particularly IBM machines, as well as systems communicating with them .
XML 1.1 also adds 2 new important characters NEL and a line separator. NEL 0x85 is used to mark the end of line and for completeness 0x2028 is used to mark the separation of line, this is extremely helpful in normalizing linefeed in text which plagues XML 1.0."
According to this post:
http://echmondprojects.com/general/tutorials/xml/xml_a/whats-in-xml-1-1/
More reading from the official XML spec:
https://www.w3.org/TR/xml11schema10/
Most helpful comment
Is there any alternative to parse a 1.1 XML document?