OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



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

[ Lists Home | Date Index | Thread Index ]

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>"

  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: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS