You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
Parse an XML file with a <![CDATA[ section.
What is the expected output? What do you see instead?
Expect successful parse.
Get:
XML syntax error: invalid <![ sequence
What is your $GOOS? $GOARCH?
$GOOS = darwin
$GOOARCH = 386
Which revision are you sync'ed to? (hg log -l 1)
changeset: 4018:bbc290c53f85
tag: tip
Please provide any additional information below.
The attached .go file has the following XML. It should successfully parse
by using xml.Unmarshal and the types defined but it gets a syntax error.
<?xml version="1.0" encoding="utf-8"?>
<rss>
<channel>
<item>
<title>Go</title>
<link>http://golang.org/<;/link>
<description><![CDATA[
The Go language home page
]]></description>
</item>
<item>
<title>Test Page</title>
<link>http://somesite/<;/link>
<description><![CDATA[
CONTENTS
]]></description>
</item>
</channel>
</rss>
by abhinav.g90:
Attachments:
The text was updated successfully, but these errors were encountered: