|
|
@@ -10,6 +10,7 @@
|
|
|
xmlns:ogc="http://www.opengis.net/ogc"
|
|
|
xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
|
|
|
xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
|
|
|
+ xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
|
|
|
exclude-result-prefixes="xs"
|
|
|
version="2.0">
|
|
|
<xsl:output indent="yes" />
|
|
|
@@ -85,6 +86,7 @@
|
|
|
<xsl:param name="build_recurse_ant_cache_control.xsl" />
|
|
|
<xsl:param name="typeNameRoot" required="yes"/><!-- to cache purpose - to allow child elements cache created to be named from this typeNameRoot -->
|
|
|
<xsl:param name="input_obj_fid_forced"/><!-- to force by build_root.xml (loop) -->
|
|
|
+ <xsl:param name="p5opr:detect_objects_parent_relations.local" required="yes"/>
|
|
|
<!--<xsl:variable name="temp_current">
|
|
|
<xsl:choose>
|
|
|
<xsl:when test="$temp='temp'">
|
|
|
@@ -462,6 +464,11 @@
|
|
|
<xsl:with-param name="feature_pos_parent" select="$feature_pos_parent"/> <!-- @2017-04 dodanie do przetwarzania result-document href="{$temp}/{@xml_id}.{$uuid}.{$feature_pos}/build_root.xml -->
|
|
|
<xsl:with-param name="input_obj_fid" select="$input_obj_fid"/>
|
|
|
<xsl:with-param name="default_db.instance.xml" select="$default_db.instance.xml"/>
|
|
|
+ <xsl:with-param name="detect_resource_type.local" select="$detect_resource_type.local"/>
|
|
|
+ <xsl:with-param name="p5opr:detect_objects_parent_relations.local" select="$p5opr:detect_objects_parent_relations.local"/>
|
|
|
+ <xsl:with-param name="vrtfNamespaces.xml" select="$vrtfNamespaces.xml"/>
|
|
|
+ <xsl:with-param name="default_db_targetNamespace_detect_string" select="$default_db_targetNamespace_detect_string"/>
|
|
|
+ <xsl:with-param name="zasob_id_db_targetNamespace_detect_string" select="$zasob_id_db_targetNamespace_detect_string"/>
|
|
|
</xsl:apply-templates>
|
|
|
<!-- na koniec przetwarzania kazdego z wezlow, podmieniamy xsl biezacy wezel -->
|
|
|
|
|
|
@@ -532,6 +539,12 @@
|
|
|
<xsl:with-param name="feature_pos" select="$feature_pos"/>
|
|
|
<xsl:with-param name="input_obj_fid" select="$input_obj_fid"/>
|
|
|
<xsl:with-param name="default_db.instance.xml" select="$default_db.instance.xml"/>
|
|
|
+ <xsl:with-param name="detect_resource_type.local" select="$detect_resource_type.local"/>
|
|
|
+ <xsl:with-param name="p5opr:detect_objects_parent_relations.local" select="$p5opr:detect_objects_parent_relations.local"/>
|
|
|
+ <xsl:with-param name="vrtfNamespaces.xml" select="$vrtfNamespaces.xml"/>
|
|
|
+ <xsl:with-param name="default_db_targetNamespace_detect_string" select="$default_db_targetNamespace_detect_string"/>
|
|
|
+ <xsl:with-param name="zasob_id_db_targetNamespace_detect_string" select="$zasob_id_db_targetNamespace_detect_string"/>
|
|
|
+
|
|
|
<!-- debug only below CACHE -->
|
|
|
<xsl:with-param name="typeName_dita" select="$typeName_dita"/>
|
|
|
<!--<xsl:with-param name="loop_path_recurs" select="$loop_path_recurs"/>-->
|
|
|
@@ -1189,6 +1202,14 @@
|
|
|
<param name="feature_pos" expression="{$feature_pos}"/>
|
|
|
<param name="external_schema_table.path" expression="{$external_schema_table.path}"/>
|
|
|
<param name="default_db.instance.xml" expression="{$default_db.instance.xml}"/>
|
|
|
+
|
|
|
+ <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
|
|
|
+ <param expression="${detect_objects_parent_relations.local}">
|
|
|
+ <xsl:attribute name="name" select="'{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd}detect_objects_parent_relations.local'"/>
|
|
|
+ </param>
|
|
|
+ <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
|
|
|
+ <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
|
|
|
<classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
</xsl:element>
|
|
|
<!-- delete tempfiles -->
|
|
|
@@ -1471,6 +1492,14 @@
|
|
|
<param name="recurse_ant_basedir.recurse_cache" expression="{$recurse_ant_basedir.recurse_cache}"/>
|
|
|
<param name="external_schema_table.path" expression="{$external_schema_table.path}"/>
|
|
|
<param name="default_db.instance.xml" expression="{$default_db.instance.xml}"/>
|
|
|
+
|
|
|
+ <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
|
|
|
+ <param expression="${detect_objects_parent_relations.local}">
|
|
|
+ <xsl:attribute name="name" select="'{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd}detect_objects_parent_relations.local'"/>
|
|
|
+ </param>
|
|
|
+ <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
|
|
|
+ <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
|
|
|
<classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
</xsl:element>
|
|
|
<xsl:if test="$debug > 2"><echo> #1153 Loop executing antfile <xsl:value-of select="concat('${builds_to_ant_file.xml',$loop_path_recurs,$loop_xpath,@xml_id,'.',$feature_pos_parent,'.',$feature_pos,$featureID_name_dita,$parallel_pos,'}')"/></echo></xsl:if>
|
|
|
@@ -1526,8 +1555,14 @@
|
|
|
<xsl:with-param name="feature_pos_parent" select="$feature_pos_parent"/>
|
|
|
<xsl:with-param name="feature_pos" select="$feature_pos"/>
|
|
|
<xsl:with-param name="input_obj_fid" select="$input_obj_fid"/>
|
|
|
- <xsl:with-param name="typeName_dita" select="$typeName_dita"/> <!-- debug cache only -->
|
|
|
+ <xsl:with-param name="typeName_dita" select="$typeName_dita"/> <!-- debug cache only -->
|
|
|
<xsl:with-param name="default_db.instance.xml" select="$default_db.instance.xml"/>
|
|
|
+
|
|
|
+ <xsl:with-param name="detect_resource_type.local" select="$detect_resource_type.local"/>
|
|
|
+ <xsl:with-param name="p5opr:detect_objects_parent_relations.local" select="$p5opr:detect_objects_parent_relations.local"/>
|
|
|
+ <xsl:with-param name="vrtfNamespaces.xml" select="$vrtfNamespaces.xml"/>
|
|
|
+ <xsl:with-param name="default_db_targetNamespace_detect_string" select="$default_db_targetNamespace_detect_string"/>
|
|
|
+ <xsl:with-param name="zasob_id_db_targetNamespace_detect_string" select="$zasob_id_db_targetNamespace_detect_string"/>
|
|
|
<!--<xsl:with-param name="loop_path_recurs" select="$loop_path_recurs"/>-->
|
|
|
<!--<xsl:with-param name="loop_path_recurs" select="$loop_path_recurs"/>-->
|
|
|
</xsl:apply-templates>
|
|
|
@@ -1773,6 +1808,13 @@
|
|
|
<param name="typeNameRoot" expression="{$typeNameRoot}"/>
|
|
|
<param name="external_schema_table.path" expression="{$external_schema_table.path}"/>
|
|
|
<param name="default_db.instance.xml" expression="{$default_db.instance.xml}"/>
|
|
|
+ <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
|
|
|
+ <param expression="${detect_objects_parent_relations.local}">
|
|
|
+ <xsl:attribute name="name" select="'{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd}detect_objects_parent_relations.local'"/>
|
|
|
+ </param>
|
|
|
+ <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
|
|
|
+ <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
|
|
|
</xslt>
|
|
|
</xsl:element>
|
|
|
<!-- zapisujemy wynik naszego biezacego przetwarzania dita element nizej do kolejnego przejechania z ant wyniku dla podstawienia danych -->
|