Next in thread → Next in month →

Re: [xml-dev] Is whitespace allowed with xsi:nil="true" ?

From
<>
To
Kintali Shiva Prasad <>
Date
2003-09-03T08:03:05Z
ID
<>
Thread
Re: [xml-dev] Is whitespace allowed with xsi:nil="true" ?
The W3C XML Schema REC says  :

  "[if xsi:nil is true t]he element information item must have no
   character or element information item [children]."

So I think Xerces is giving the correct answer.  XSV also gives an
error for this one:

  " <invalid char="1" code="cvc-elt.1.2.1" line="5" 
    resource=".../niltest-whitespace.xml">element name is nilled
       but is not empty</invalid>"

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: 
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Next in thread → Next in month →