xsddoc/src/net/sf/xframe/xsddoc/xslt model.xsl,1.27,1.28

Kurt Riede <[email protected]> Mon, 13 Dec 2004 13:25:54 +0000
Newsgroups gmane.text.xml.xframe.xsddoc.devel
Message-ID <[email protected]>
Update of /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10912/src/net/sf/xframe/xsddoc/xslt

Modified Files:
	model.xsl 
Log Message:
Fixed missing model in case of complex type defined in included schema

Index: model.xsl
===================================================================
RCS file: /cvsroot/xframe/xsddoc/src/net/sf/xframe/xsddoc/xslt/model.xsl,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** model.xsl	9 Dec 2004 13:09:19 -0000	1.27
--- model.xsl	13 Dec 2004 13:25:52 -0000	1.28
***************
*** 931,935 ****
          <!-- not found in this schema: recurse into all imported and included schema -->
          <xsl:for-each select="xs:import | xs:include | xs:redefine">
!           <xsl:apply-templates select="document(@schemaLocation, .)/xs:schema" mode="model">
              <xsl:with-param name="qname" select="$qname"/>
              <xsl:with-param name="occurs" select="$occurs"/>
--- 931,935 ----
          <!-- not found in this schema: recurse into all imported and included schema -->
          <xsl:for-each select="xs:import | xs:include | xs:redefine">
!           <xsl:apply-templates select="document(@schemaLocation, .)/xs:schema" mode="typeModel">
              <xsl:with-param name="qname" select="$qname"/>
              <xsl:with-param name="occurs" select="$occurs"/>



-------------------------------------------------------
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://productguide.itmanagersjournal.com/