[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Abstract element and xsi:nil

From: Boris Kolpackov <boris@codesynthesis.com>
Date: Sun, 2 Sep 2007 19:45:47 +0200
To: Morris Matsa <mmatsa@us.ibm.com>
Cc: Dennis Sosnoski <dms@sosnoski.com>, xmlschema-dev@w3.org
Message-ID: <20070902174547.GB31139@karelia>
Re: Abstract element and xsi:nil

Hi Morris,

Morris Matsa <mmatsa@us.ibm.com> writes:

> Since the typing system isn't just for validation, it makes sense to
> me that abstract types can't be instantiated.

In case of xsi:nil="true" no type is going to be instantiated. It is
like assigning NULL to a pointer that otherwise would point to an
instance of a type. In this light I don't see a reason in prohibiting
xsi:nil="true" in an element of a nillable abstract type.

Boris

-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding
Received on Sunday, 2 September 2007 17:52:07 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.