From 2e632088ce006505d924cfc40950fb4eb616d490 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Thu, 3 Jun 2010 00:56:53 -0700 Subject: [PATCH] Fix typo in xml comments. R=rsc CC=golang-dev https://golang.org/cl/1503041 --- src/pkg/xml/xml.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pkg/xml/xml.go b/src/pkg/xml/xml.go index 44c42c03595..cd67f6e2657 100644 --- a/src/pkg/xml/xml.go +++ b/src/pkg/xml/xml.go @@ -158,9 +158,8 @@ type Parser struct { // "lt": "<", // "gt": ">", // "amp": "&", - // "pos": "'", + // "apos": "'", // "quot": `"`, - // Entity map[string]string r io.ReadByter @@ -222,7 +221,6 @@ func NewParser(r io.Reader) *Parser { // set to the URL identifying its name space when known. // If Token encounters an unrecognized name space prefix, // it uses the prefix as the Space rather than report an error. -// func (p *Parser) Token() (t Token, err os.Error) { if p.nextToken != nil { t = p.nextToken