Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DefaultSpace (0.22 sec)

  1. src/encoding/xml/xml.go

    	// CharsetReader's result values must be non-nil.
    	CharsetReader func(charset string, input io.Reader) (io.Reader, error)
    
    	// DefaultSpace sets the default name space used for unadorned tags,
    	// as if the entire XML stream were wrapped in an element containing
    	// the attribute xmlns="DefaultSpace".
    	DefaultSpace string
    
    	r              io.ByteReader
    	t              TokenReader
    	buf            bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  2. src/encoding/xml/read_test.go

    	},
    }
    
    func TestUnmarshalNS(t *testing.T) {
    	for i, tt := range tables {
    		var dst Tables
    		var err error
    		if tt.ns != "" {
    			d := NewDecoder(strings.NewReader(tt.xml))
    			d.DefaultSpace = tt.ns
    			err = d.Decode(&dst)
    		} else {
    			err = Unmarshal([]byte(tt.xml), &dst)
    		}
    		if err != nil {
    			t.Errorf("#%d: Unmarshal: %v", i, err)
    			continue
    		}
    		want := tt.tab
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"CharData", Type, 0},
    		{"Comment", Type, 0},
    		{"CopyToken", Func, 0},
    		{"Decoder", Type, 0},
    		{"Decoder.AutoClose", Field, 0},
    		{"Decoder.CharsetReader", Field, 0},
    		{"Decoder.DefaultSpace", Field, 1},
    		{"Decoder.Entity", Field, 0},
    		{"Decoder.Strict", Field, 0},
    		{"Directive", Type, 0},
    		{"Encoder", Type, 0},
    		{"EndElement", Type, 0},
    		{"EndElement.Name", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top