ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tclxml-users
tclxml-users
[Tclxml-users] 3.0 schema compile failures
by Bill Schongar other posts by this author
Feb 11 2005 3:21PM messages near this date
Re: [Tclxml-users] Error in loading TclDom from - binary combo | [Tclxml-users] WSDL Generation for TclSOAP
Hey folks,

 I read that there are limits to the 3.0 schema compile/validation
capabilities, but I can't seem to get even the simplest schema to
work. For example:

<?xml version="1.0" encoding="UTF-8"?> 
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> 
	<xs:element name="foo"> 
		<xs:complexType> 
			<xs:sequence> 
				<xs:element name="bar"
type="xs:string"/> 
				<xs:element name="junk" type="xs:int"
minOccurs="0"/> 
			</xs:sequence> 
		</xs:complexType> 
	</xs:element> 
</xs:schema> 

 Does anyone have an example schema that works, or a list of the known
restrictions/limitations?

Thanks,

-Bill




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Tclxml-users mailing list
Tclxml-users@[...].net
https://lists.sourceforge.net/lists/listinfo/tclxml-users

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved