Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2104)

Issue 7085053: code review 7085053: encoding/xml: make sure Encoder.Encode reports Write errors.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by osaingre
Modified:
10 years, 9 months ago
Reviewers:
rsc
CC:
DMorsing, dave_cheney.net, rsc, golang-dev
Visibility:
Public.

Description

encoding/xml: make sure Encoder.Encode reports Write errors. Fixes issue 4112.

Patch Set 1 #

Patch Set 2 : diff -r 760f1daa6700 https://code.google.com/p/go #

Total comments: 6

Patch Set 3 : diff -r 3e65e5b411d5 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -14 lines) Patch
M src/pkg/encoding/xml/marshal.go View 1 2 3 chunks +18 lines, -9 lines 0 comments Download
M src/pkg/encoding/xml/marshal_test.go View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M src/pkg/encoding/xml/xml.go View 1 2 chunks +19 lines, -5 lines 0 comments Download
M src/pkg/encoding/xml/xml_test.go View 1 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 15
osaingre
Hi, I'd like you to review that Go 1.1 issue fix. Thanks, Olivier
11 years, 3 months ago (2013-01-13 21:22:19 UTC) #1
remyoudompheng
Why don't I see this issue on http://gocodereview.appspot.com ? https://codereview.appspot.com/7085053/diff/1001/src/pkg/encoding/xml/marshal.go File src/pkg/encoding/xml/marshal.go (right): https://codereview.appspot.com/7085053/diff/1001/src/pkg/encoding/xml/marshal.go#newcode249 src/pkg/encoding/xml/marshal.go:249: ...
11 years, 3 months ago (2013-01-16 21:34:13 UTC) #2
DMorsing
On Wed, Jan 16, 2013 at 10:34 PM, <remyoudompheng@gmail.com> wrote: > Why don't I see ...
11 years, 3 months ago (2013-01-17 09:01:55 UTC) #3
dave_cheney.net
Maybe this review was created by hand without the aide of hg mail On Thu, ...
11 years, 3 months ago (2013-01-17 09:03:21 UTC) #4
osaingre
On 2013/01/17 09:03:21, dfc wrote: > Maybe this review was created by hand without the ...
11 years, 3 months ago (2013-01-17 21:41:47 UTC) #5
rsc
https://codereview.appspot.com/7085053/diff/1001/src/pkg/encoding/xml/marshal.go File src/pkg/encoding/xml/marshal.go (right): https://codereview.appspot.com/7085053/diff/1001/src/pkg/encoding/xml/marshal.go#newcode249 src/pkg/encoding/xml/marshal.go:249: if err := EscapeText(p, []byte(val.String())); err != nil { ...
11 years, 3 months ago (2013-01-18 22:03:24 UTC) #6
osaingre
https://codereview.appspot.com/7085053/diff/1001/src/pkg/encoding/xml/marshal.go File src/pkg/encoding/xml/marshal.go (right): https://codereview.appspot.com/7085053/diff/1001/src/pkg/encoding/xml/marshal.go#newcode260 src/pkg/encoding/xml/marshal.go:260: if err := EscapeText(p, bytes); err != nil { ...
11 years, 2 months ago (2013-02-04 22:29:04 UTC) #7
rsc
https://codereview.appspot.com/7085053/diff/1001/src/pkg/encoding/xml/marshal.go File src/pkg/encoding/xml/marshal.go (right): https://codereview.appspot.com/7085053/diff/1001/src/pkg/encoding/xml/marshal.go#newcode260 src/pkg/encoding/xml/marshal.go:260: if err := EscapeText(p, bytes); err != nil { ...
11 years, 2 months ago (2013-02-08 20:12:12 UTC) #8
osaingre
Hello remyoudompheng@gmail.com, daniel.morsing@gmail.com, dave@cheney.net, rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to ...
11 years, 2 months ago (2013-02-18 22:32:02 UTC) #9
rsc
LGTM
11 years, 2 months ago (2013-02-19 15:44:36 UTC) #10
rsc
Please complete a CLA as described at golang.org/doc/contribute.html#copyright. Thanks. Russ
11 years, 2 months ago (2013-02-19 15:48:50 UTC) #11
osaingre
On 2013/02/19 15:48:50, rsc wrote: > Please complete a CLA as described at > golang.org/doc/contribute.html#copyright. ...
11 years, 2 months ago (2013-02-20 08:33:54 UTC) #12
dave_cheney.net
Yeah, there is no visible confirmation. Once the paperwork is done on the Google side ...
11 years, 2 months ago (2013-02-20 08:40:50 UTC) #13
bradfitz
*** Submitted as https://code.google.com/p/go/source/detail?r=ccecfdaf3719 *** encoding/xml: make sure Encoder.Encode reports Write errors. Fixes issue 4112. ...
11 years, 2 months ago (2013-02-20 22:41:25 UTC) #14
remyoudompheng
10 years, 9 months ago (2013-07-20 21:33:17 UTC) #15
R=close
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b