its20 CVS commit

Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt/tei/odds
In directory hutz:/tmp/cvs-serv17731

Modified Files:
	RngToRnc.xsl 
Log Message:
Generate xsd:string instead of string if there are parameters

Index: RngToRnc.xsl
===================================================================
RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/tools/xslt/tei/odds/RngToRnc.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- RngToRnc.xsl	28 Jun 2012 13:06:45 -0000	1.1
+++ RngToRnc.xsl	7 Sep 2012 09:10:22 -0000	1.2
@@ -867,7 +867,7 @@
         <xsl:with-param name="text">
           <xsl:choose>
             <xsl:when test="self::rng:value and not (@type)">token</xsl:when>
-            <xsl:when test="$dts = '' and @type= 'string'">string</xsl:when>
+            <xsl:when test="$dts = '' and @type= 'string' and not(rng:param)">string</xsl:when>
             <xsl:when test="$dts = '' and @type= 'token'">token</xsl:when>
             <xsl:when test="$dts = ''">
               <xsl:text>xsd:</xsl:text>

Received on Friday, 7 September 2012 09:10:29 UTC