OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Schema for XSLT (concerns mixed content, content attribute)

[ Lists Home | Date Index | Thread Index ]
  • From: Kay Michael <Michael.Kay@icl.com>
  • To: "'xml-dev@xml.org'" <xml-dev@xml.org>
  • Date: Wed, 19 Apr 2000 11:34:22 +0100

> Don Box wrote:
> 
> I just spent the afternoon massaging my schema for XSLT. If 
> you want to
> check it out, it is at:
> 
>         http://www.develop.com/dbox/xml/xslt.xsd
> 
> I'd love to get feedback...

One thing I noticed is that the schema doesn't (unless I missed it) make any
attempt to describe the referential integrity constraints, e.g. (a) the name
used in <xsl:call-template> must be the same as the name of an
<xsl:template>, (b) the value of extension-element-prefixes must be a
whitespace-separated list of namespace prefixes that are in scope.

Admittedly the need to follow xsl:include and xsl:import makes this
challenging, but not having studied the latest XML Schema drafts in any
depth I'd be interested to know how many of these constraints can be
expressed.

Mike Kay

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS