W3C home > Mailing lists > Public > public-schemata-users@w3.org > December 2005

schema augmentation?

From: isil light <isil_light@yahoo.com>
Date: Fri, 9 Dec 2005 17:03:16 -0500 (EST)
Message-ID: <20051209220317.88208.qmail@web53415.mail.yahoo.com>
To: public-schemata-users@w3.org
 
  We have a schema that validates the following elements:
  
  
  <DateTime>
   <Date>20051017</Date>
   <Time>230001</Time>
  </DateTime>
  
  DateTime must contain one Date and one Time element
  Date must match a pattern
  Time must match a pattern
  
  
  We have a client who wishes to add to our definition of the DateTime element:
  
  <DateTime>
   <Date>20051017</Date>
   <Time>230001</Time>
   <Zone>EST</Zone>
  </DateTime>
  
  
  Can this be done with schema without the client altering our schema?
  Could this be done with namespaces?
  
  
  
  
  <DateTime xmlns="local">
   <Date>20051017</Date>
   <Time>230001</Time>
  </DateTime>
  
  
  
  <DateTime xmlns="client">
   <Date>20051017</Date>
   <Time>230001</Time>
   <Zone>EST</Zone> <!-- the client xsd would simply augment the local xsd -->
  </DateTime>
  
  

		
---------------------------------
Find your next car at Yahoo! Canada Autos
Received on Friday, 9 December 2005 22:03:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:16:24 GMT