W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2002

abstract=true in a localElement

From: Dwivedi , Ajay Kumar <AjayKumar.Dwivedi@dresdner-bank.com>
Date: Fri, 14 Jun 2002 10:56:54 +0100
Message-ID: <81D792FDA471D21190DB0008C7A41A0601ED5C2F@kbi01ea0.wwz1me.mail.dresdner.net>
To: xmlschema-dev@w3.org

Hi all,
	As per the test case particlesDa010 of
htm the following schema is expected to be correct. It passes both the
Microsoft's and XERCES's tests.

	However Item 2, "3.3.4 Element Declaration Validation Rules" of
Part1 and subsequent Comments in xmlschema-rec-comments#pfiElemValidType
says that "element may not have {abstract} = true".

	So, is this schema invalid or am I missing something?

Thanks in advance,

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://xsdtesting" xmlns:x="http://xsdtesting"
	<xsd:element name="doc">
				<xsd:element name="elem1"/>
				<xsd:element abstract="true" name="elem2"/>
	<xsd:complexType name="A">
			<xsd:element name="a1"/>
			<xsd:element name="a2"/>
	<xsd:element name="foo"/>
Received on Friday, 14 June 2002 05:57:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:57 UTC