a.binder 6 tahun lalu
induk
melakukan
d14a7b2982

+ 3 - 3
SE/schema/default_db_xml_cache.public/build_ant_universal_by_xsl_match.xsl

@@ -66,7 +66,7 @@
             xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd">
             <xsl:if test="string-length($properties.xml) &gt; 0"><xsl:copy-of select="doc($properties.xml)/properties/*" copy-namespaces="no"/></xsl:if>
             <target name="{$antfile_prefix}">
-                <parallel  failonany="true" threadCount="{$threadCount}"> <!-- threadCount="4"  -->
+                <parallel  failonany="true" threadCount="1"> <!--{$threadCount} threadCount="4"  -->
                     <xsl:variable name="system_cache__appinfo:element_complexType">
                         <xsl:for-each select="*">
                             <xsl:sort select="@count" order="ascending" data-type="number"/>
@@ -108,7 +108,7 @@
         <xsl:message>#51 testing against unparsed-text-available <xsl:value-of select="system_cache__appinfo:element-filename/text()"/></xsl:message>
         <xsl:choose>
             <xsl:when test="system_cache__appinfo:element-filename/text() and unparsed-text-available(concat(system_cache__appinfo:element-filename/text(),'.complete'))">
-                <echo> #54-A suppressed generating <xsl:value-of select="with-param/@name"/> because of  unparsed-text-available(<xsl:value-of select="concat(system_cache__appinfo:element-filename/text(),'.complete')"/>)</echo>
+                <echo> #54-A suppressed generating <xsl:value-of select="with-param/@name"/> because of  unparsed-text-available(<xsl:value-of select="concat(system_cache__appinfo:element-filename/text(),'.complete')"/>); @id="<xsl:value-of select="@id"/>";</echo>
                 <!--<xsl:comment> #54 suppressed generating <xsl:value-of select="with-param/@name"/> because of  unparsed-text-available(<xsl:value-of select="system_cache__appinfo:element-filename/text()"/>)</xsl:comment>-->
             </xsl:when>
             <!--<xsl:when test="system_cache__appinfo:element-filename/text() and doc-available(system_cache__appinfo:element-filename/text())">
@@ -125,7 +125,7 @@
                     <!--<xsl:attribute name="id.int.rand" select="@id.int.rand"/>-->
                     <!--<tempfile property="{with-param/@select}{with-param/@name}" deleteonexit="yes"><xsl:attribute name="destdir" select="'${detect_resource_type.local}'"/></tempfile>-->
                     <touch file="{system_cache__appinfo:element-filename/text()}.prepare"/>
-                    <echo>creating <xsl:value-of select="round((count( preceding-sibling::*)  div $count ) * 100)"/>%  <xsl:value-of select="with-param/@select"/>:<xsl:value-of select="with-param/@name"/></echo>
+                    <echo>creating <xsl:value-of select="round((count( preceding-sibling::*)  div $count ) * 100)"/>%  <xsl:value-of select="with-param/@select"/>:<xsl:value-of select="with-param/@name"/>; @id="<xsl:value-of select="@id"/>";</echo>
                     <xslt     destdir="./"  > <!-- out="${with-param/@select}{with-param/@name}" -->
                         <xsl:attribute name="basedir" select="'${build_complexType.local}'"/>
                         <xsl:attribute name="style" select="'${build_complexType.xsl}'"/>

+ 3 - 0
SE/schema/default_db_xml_cache.public/get_all_xsd.xsl

@@ -880,6 +880,7 @@
                                     <xsl:choose>
                                         <xsl:when test="local-name()='element'">
                                             <build_cache name="build_element">
+                                                <xsl:attribute name="id" select="@id"/>
                                                 <xsl:attribute name="count" select="count(descendant-or-self::*[ @ref or not(contains(@type,'xs:')) ])"/>
                                                 <xsl:attribute name="id.int.rand" select="system_cache__appinfo:id.int.rand(@id)"/>
                                                 <xsl:attribute name="system_cache__appinfo:document-uri" select="../.././@system_cache__appinfo:document-uri"/>
@@ -903,6 +904,7 @@
                                         </xsl:when>
                                         <xsl:when test="local-name()='complexType'">
                                             <build_cache name="build_complexType">
+                                                <xsl:attribute name="id" select="@id"/>
                                                 <xsl:attribute name="count" select="count(descendant-or-self::*[ @ref or not(contains(@type,'xs:')) ])"/>
                                                 <xsl:attribute name="id.int.rand" select="system_cache__appinfo:id.int.rand(@id)"/>
                                                 <!--<xsl:message>#808.1.DEBUG ok</xsl:message>-->
@@ -934,6 +936,7 @@
                                         
                                         <xsl:when test="local-name()='simpleType'">
                                             <build_cache name="build_complexType__simpleType">
+                                                <xsl:attribute name="id" select="@id"/>
                                                 <xsl:attribute name="count" select="count(descendant-or-self::*[ @ref or not(contains(@type,'xs:')) ])"/>
                                                 <xsl:attribute name="id.int.rand" select="system_cache__appinfo:id.int.rand(@id)"/>
                                                 <xsl:attribute name="system_cache__appinfo:document-uri" select="../.././@system_cache__appinfo:document-uri"/>