W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2001

RE: Restricting the schema for schemas

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Wed, 19 Sep 2001 11:33:43 -0700
Message-ID: <E5B814702B65CB4DA51644580E4853FB9073A0@red-msg-12.redmond.corp.microsoft.com>
To: "Jasmin Wason" <jlw98r@ecs.soton.ac.uk>, <xmlschema-dev@w3.org>
No, I'm afraid you cannot.
The Schema for Schemas  is illustrative.  I very much doubt if any
Schema Validator interprets it.
I think they all hard-wire it into their code.
Ashok

	-----Original Message----- 
	From: Jasmin Wason 
	Sent: Wed 9/19/2001 10:06 AM 
	To: xmlschema-dev@w3.org 
	Cc: 
	Subject: Restricting the schema for schemas
	
	

	Hi,
	
	I have a program that parses XML Schemas and I would like to
specify a
	few restrictions on the XML Schemas it can read. For example I
would
	like to specify that it will only process XML Schemas that allow
element
	names to be a maximum of 20 characters long.
	
	Would it be possible to write an XML Schema that is a subset of
the
	schema for schemas ( http://www.w3.org/2001/XMLSchema.xsd )
using
	restriction and then schema validate other XML Schemas against
it?
	
	Thanks,
	
	Jasmin
	
	
Received on Wednesday, 19 September 2001 14:34:57 UTC

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