|
@@ -309,7 +309,7 @@
|
|
|
<xsl:when test="$namespace_uri_param and count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix|system_cache__appinfo:get_all_xsd_default_db)/schema[@targetNamespace = $namespace_uri_param]/element[@name = $element])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
<xsl:when test="$namespace_uri_param and count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix|system_cache__appinfo:get_all_xsd_default_db)/schema[@targetNamespace = $namespace_uri_param]/element[@name = $element])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
|
<xsl:message terminate="yes">90: ERROR not found or too many elements with name:<xsl:value-of select="$element"/>; on @tNS:<xsl:value-of select="$namespace_uri_param"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $namespace_uri_param]/element[@name = $element])"/></xsl:message>
|
|
<xsl:message terminate="yes">90: ERROR not found or too many elements with name:<xsl:value-of select="$element"/>; on @tNS:<xsl:value-of select="$namespace_uri_param"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $namespace_uri_param]/element[@name = $element])"/></xsl:message>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
- <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix|system_cache__appinfo:get_all_xsd_default_db)/schema[@targetNamespace=$namespace_uri_param]/namespace::node()[.=$namespace_uri_param]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
|
|
|
|
+ <xsl:otherwise><xsl:value-of select="($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix|system_cache__appinfo:get_all_xsd_default_db)/schema[@targetNamespace=$namespace_uri_param]/namespace::node()[.=$namespace_uri_param]/name())[1]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
<xsl:message>98:build_element $prefix:<xsl:value-of select="$prefix"/></xsl:message>
|
|
<xsl:message>98:build_element $prefix:<xsl:value-of select="$prefix"/></xsl:message>
|
|
@@ -414,7 +414,7 @@
|
|
|
<xsl:when test="$namespace_uri_param and count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix|system_cache__appinfo:get_all_xsd_default_db)/schema[@targetNamespace = $namespace_uri_param]/group[@name = $element])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
<xsl:when test="$namespace_uri_param and count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix|system_cache__appinfo:get_all_xsd_default_db)/schema[@targetNamespace = $namespace_uri_param]/group[@name = $element])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
|
<xsl:message terminate="yes">90: ERROR not found or too many elements with name:<xsl:value-of select="$element"/>; on @tNS:<xsl:value-of select="$namespace_uri_param"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $namespace_uri_param]/group[@name = $element])"/></xsl:message>
|
|
<xsl:message terminate="yes">90: ERROR not found or too many elements with name:<xsl:value-of select="$element"/>; on @tNS:<xsl:value-of select="$namespace_uri_param"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $namespace_uri_param]/group[@name = $element])"/></xsl:message>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
- <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix|system_cache__appinfo:get_all_xsd_default_db)/schema[@targetNamespace=$namespace_uri_param]/namespace::node()[.=$namespace_uri_param]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
|
|
|
|
+ <xsl:otherwise><xsl:value-of select="($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix|system_cache__appinfo:get_all_xsd_default_db)/schema[@targetNamespace=$namespace_uri_param]/namespace::node()[.=$namespace_uri_param]/name())[1]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
<xsl:message>98b:build_element group $prefix:<xsl:value-of select="$prefix"/></xsl:message>
|
|
<xsl:message>98b:build_element group $prefix:<xsl:value-of select="$prefix"/></xsl:message>
|
|
@@ -536,7 +536,7 @@
|
|
|
<xsl:when test="$namespace_uri_param and count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $namespace_uri_param]/complexType[@name = $complexType])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
<xsl:when test="$namespace_uri_param and count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $namespace_uri_param]/complexType[@name = $complexType])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
|
<xsl:message terminate="yes">90: ERROR not found or too many elements with name:<xsl:value-of select="$complexType"/>; on @tNS:<xsl:value-of select="$namespace_uri_param"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $namespace_uri_param]/complexType[@name = $complexType])"/></xsl:message>
|
|
<xsl:message terminate="yes">90: ERROR not found or too many elements with name:<xsl:value-of select="$complexType"/>; on @tNS:<xsl:value-of select="$namespace_uri_param"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $namespace_uri_param]/complexType[@name = $complexType])"/></xsl:message>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
- <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$namespace_uri_param]/namespace::node()[.=$namespace_uri_param]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
|
|
|
|
+ <xsl:otherwise><xsl:value-of select="($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)[1]/schema[@targetNamespace=$namespace_uri_param]/namespace::node()[.=$namespace_uri_param]/name())" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
<xsl:message>98:build_element $prefix:<xsl:value-of select="$prefix"/></xsl:message>
|
|
<xsl:message>98:build_element $prefix:<xsl:value-of select="$prefix"/></xsl:message>
|
|
@@ -2466,7 +2466,7 @@
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
<xsl:when test="$targetNamespace='http://www.w3.org/2001/XMLSchema'"><xsl:value-of select="'xs'"/></xsl:when>
|
|
<xsl:when test="$targetNamespace='http://www.w3.org/2001/XMLSchema'"><xsl:value-of select="'xs'"/></xsl:when>
|
|
|
<!-- @2017-11-2 blad na CRM_PROCESS ERROR fixing ! <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri]/namespace::node()[.=$type_uri]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>-->
|
|
<!-- @2017-11-2 blad na CRM_PROCESS ERROR fixing ! <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri]/namespace::node()[.=$type_uri]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>-->
|
|
|
- <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri and simpleType[@name=$name] ]/namespace::node()[.=$type_uri]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
|
|
|
|
+ <xsl:otherwise><xsl:value-of select="($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri and simpleType[@name=$name] ]/namespace::node()[.=$type_uri]/name())[1]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
<xsl:message>#2101B TODO save to ($prefix="<xsl:value-of select="$prefix"/>") <xsl:value-of select="system_cache__appinfo:element-filename.symlink('build_complexType__simpleType',@name,$prefix,$type_uri)"/>; ($name="<xsl:value-of select="$name"/>"); ($path="<xsl:value-of select="$path"/>");</xsl:message>
|
|
<xsl:message>#2101B TODO save to ($prefix="<xsl:value-of select="$prefix"/>") <xsl:value-of select="system_cache__appinfo:element-filename.symlink('build_complexType__simpleType',@name,$prefix,$type_uri)"/>; ($name="<xsl:value-of select="$name"/>"); ($path="<xsl:value-of select="$path"/>");</xsl:message>
|
|
@@ -3285,7 +3285,7 @@
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
<xsl:when test="$type_uri='http://www.w3.org/2001/XMLSchema'"><xsl:value-of select="'xs'"/></xsl:when>
|
|
<xsl:when test="$type_uri='http://www.w3.org/2001/XMLSchema'"><xsl:value-of select="'xs'"/></xsl:when>
|
|
|
<!-- @2017-11-2 blad na CRM_PROCESS ERROR fixing ! <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri]/namespace::node()[.=$type_uri]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>-->
|
|
<!-- @2017-11-2 blad na CRM_PROCESS ERROR fixing ! <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri]/namespace::node()[.=$type_uri]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>-->
|
|
|
- <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri]/namespace::node()[.=$type_uri]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
|
|
|
|
+ <xsl:otherwise><xsl:value-of select="($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri]/namespace::node()[.=$type_uri][position() = 1]/name())[1]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
<xsl:variable name="recurse">
|
|
<xsl:variable name="recurse">
|
|
@@ -3498,7 +3498,7 @@
|
|
|
<xsl:when test="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
<xsl:when test="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
|
<xsl:message terminate="yes">251:b ERROR not found or too many elements with name:<xsl:value-of select="$type"/>; par.tNS:<xsl:value-of select="$targetNamespace"/>; on type_uri:<xsl:value-of select="$type_uri"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])"/></xsl:message>
|
|
<xsl:message terminate="yes">251:b ERROR not found or too many elements with name:<xsl:value-of select="$type"/>; par.tNS:<xsl:value-of select="$targetNamespace"/>; on type_uri:<xsl:value-of select="$type_uri"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])"/></xsl:message>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
- <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri]/namespace::node()[.=$type_uri]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
|
|
|
|
+ <xsl:otherwise><xsl:value-of select="($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri]/namespace::node()[.=$type_uri]/name())[1]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
<xsl:if test="$debug_level>3"><xsl:message>951c: $type:<xsl:value-of select="$type"/>; $prefix:<xsl:value-of select="$prefix"/> $type_uri:<xsl:value-of select="$type_uri"/>;</xsl:message>
|
|
<xsl:if test="$debug_level>3"><xsl:message>951c: $type:<xsl:value-of select="$type"/>; $prefix:<xsl:value-of select="$prefix"/> $type_uri:<xsl:value-of select="$type_uri"/>;</xsl:message>
|
|
@@ -3561,7 +3561,7 @@
|
|
|
<xsl:when test="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
<xsl:when test="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
|
<xsl:message terminate="yes">331: ERROR not found or too many elements with name:<xsl:value-of select="$type"/>; on @tNS:<xsl:value-of select="$type_uri"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])"/></xsl:message>
|
|
<xsl:message terminate="yes">331: ERROR not found or too many elements with name:<xsl:value-of select="$type"/>; on @tNS:<xsl:value-of select="$type_uri"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])"/></xsl:message>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
- <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$targetNamespace]/namespace::node()[.=$type_uri]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
|
|
|
|
+ <xsl:otherwise><xsl:value-of select="($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$targetNamespace]/namespace::node()[.=$type_uri]/name())[1]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
<xsl:if test="$debug_level>3"><xsl:message terminate="no">214c: $type_uri:<xsl:value-of select="$type_uri"/>; $ref_id:<xsl:value-of select="$ref_id"/>; ../@id:<xsl:value-of select="../@id"/>;</xsl:message></xsl:if>
|
|
<xsl:if test="$debug_level>3"><xsl:message terminate="no">214c: $type_uri:<xsl:value-of select="$type_uri"/>; $ref_id:<xsl:value-of select="$ref_id"/>; ../@id:<xsl:value-of select="../@id"/>;</xsl:message></xsl:if>
|
|
@@ -3620,7 +3620,7 @@
|
|
|
<xsl:when test="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
<xsl:when test="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
|
<xsl:message terminate="yes">1746c: ERROR not found or too many elements with name:<xsl:value-of select="$type"/>; on @tNS:<xsl:value-of select="$type_uri"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])"/></xsl:message>
|
|
<xsl:message terminate="yes">1746c: ERROR not found or too many elements with name:<xsl:value-of select="$type"/>; on @tNS:<xsl:value-of select="$type_uri"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])"/></xsl:message>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
- <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$targetNamespace]/namespace::node()[.=$type_uri]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
|
|
|
|
+ <xsl:otherwise><xsl:value-of select="($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$targetNamespace]/namespace::node()[.=$type_uri]/name())[1]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
<xsl:if test="$debug_level>3"><xsl:message terminate="no">214c: $type_uri:<xsl:value-of select="$type_uri"/>; $ref_id:<xsl:value-of select="$ref_id"/>; ../@id:<xsl:value-of select="../@id"/>;</xsl:message></xsl:if>
|
|
<xsl:if test="$debug_level>3"><xsl:message terminate="no">214c: $type_uri:<xsl:value-of select="$type_uri"/>; $ref_id:<xsl:value-of select="$ref_id"/>; ../@id:<xsl:value-of select="../@id"/>;</xsl:message></xsl:if>
|
|
@@ -3689,7 +3689,7 @@
|
|
|
<xsl:attribute name="count" select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/element[@name = system_cache__appinfo:clean_object_prefix($type)])"/>
|
|
<xsl:attribute name="count" select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/element[@name = system_cache__appinfo:clean_object_prefix($type)])"/>
|
|
|
</system_cache__appinfo:build_complexType.error>
|
|
</system_cache__appinfo:build_complexType.error>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
- <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri and element[@name = system_cache__appinfo:clean_object_prefix($type)] ]/namespace::node()[.=$type_uri]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
|
|
|
|
+ <xsl:otherwise><xsl:value-of select="($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri and element[@name = system_cache__appinfo:clean_object_prefix($type)] ]/namespace::node()[.=$type_uri]/name())[1]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
<xsl:if test="string-length($prefix) < 1"><xsl:message terminate="yes">#2616 error empty prefix for @id=<xsl:value-of select=".././@id"/> </xsl:message></xsl:if>
|
|
<xsl:if test="string-length($prefix) < 1"><xsl:message terminate="yes">#2616 error empty prefix for @id=<xsl:value-of select=".././@id"/> </xsl:message></xsl:if>
|
|
@@ -3750,7 +3750,7 @@
|
|
|
<xsl:when test="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/group[@name = system_cache__appinfo:clean_object_prefix($type)])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
<xsl:when test="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/group[@name = system_cache__appinfo:clean_object_prefix($type)])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
|
<xsl:message terminate="yes">251:d ERROR not found or too many elements with name:<xsl:value-of select="$type"/>; par.tNS:<xsl:value-of select="$targetNamespace"/>; on type_uri:<xsl:value-of select="$type_uri"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/element[@name = system_cache__appinfo:clean_object_prefix($type)])"/></xsl:message>
|
|
<xsl:message terminate="yes">251:d ERROR not found or too many elements with name:<xsl:value-of select="$type"/>; par.tNS:<xsl:value-of select="$targetNamespace"/>; on type_uri:<xsl:value-of select="$type_uri"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/element[@name = system_cache__appinfo:clean_object_prefix($type)])"/></xsl:message>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
- <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri]/namespace::node()[.=$type_uri]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
|
|
|
|
+ <xsl:otherwise><xsl:value-of select="($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri]/namespace::node()[.=$type_uri]/name())" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
<xsl:if test="substring-before($prefix,' ')">
|
|
<xsl:if test="substring-before($prefix,' ')">
|
|
@@ -3807,7 +3807,7 @@
|
|
|
<xsl:when test="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/simpleType[@name = system_cache__appinfo:clean_object_prefix($type)])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
<xsl:when test="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/simpleType[@name = system_cache__appinfo:clean_object_prefix($type)])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
|
<xsl:message terminate="yes">1701: ERROR not found or too many elements with name:<xsl:value-of select="$type"/>; par.tNS:<xsl:value-of select="$targetNamespace"/>; on type_uri:"<xsl:value-of select="$type_uri"/>"; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/attribute[@name = system_cache__appinfo:clean_object_prefix($type)])"/>; (@id="<xsl:value-of select="../@id"/>")</xsl:message>
|
|
<xsl:message terminate="yes">1701: ERROR not found or too many elements with name:<xsl:value-of select="$type"/>; par.tNS:<xsl:value-of select="$targetNamespace"/>; on type_uri:"<xsl:value-of select="$type_uri"/>"; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/attribute[@name = system_cache__appinfo:clean_object_prefix($type)])"/>; (@id="<xsl:value-of select="../@id"/>")</xsl:message>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
- <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri]/namespace::node()[.=$type_uri]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
|
|
|
|
+ <xsl:otherwise><xsl:value-of select="($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri]/namespace::node()[.=$type_uri]/name())[1]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
<xsl:if test="$debug_level>3"><xsl:message>1689b: @ref:<xsl:value-of select="$type"/>; $ref_id:<xsl:value-of select="$ref_id"/>; $type_uri:<xsl:value-of select="$type_uri"/>; $prefix:<xsl:value-of select="$prefix"/>;</xsl:message>
|
|
<xsl:if test="$debug_level>3"><xsl:message>1689b: @ref:<xsl:value-of select="$type"/>; $ref_id:<xsl:value-of select="$ref_id"/>; $type_uri:<xsl:value-of select="$type_uri"/>; $prefix:<xsl:value-of select="$prefix"/>;</xsl:message>
|
|
@@ -3864,7 +3864,7 @@
|
|
|
<!--@2018-05-03 this is possible bug when used ref to attribute group. detected at p5suis:group.name1 at p5dkp.comment.xsd-->
|
|
<!--@2018-05-03 this is possible bug when used ref to attribute group. detected at p5suis:group.name1 at p5dkp.comment.xsd-->
|
|
|
</xsl:message>
|
|
</xsl:message>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
- <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri]/namespace::node()[.=$type_uri]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
|
|
|
|
+ <xsl:otherwise><xsl:value-of select="($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$type_uri]/namespace::node()[.=$type_uri]/name())[1]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
<xsl:if test="$debug_level>3"><xsl:message>1457b: @ref:<xsl:value-of select="$type"/>; $ref_id:<xsl:value-of select="$ref_id"/>; $type_uri:<xsl:value-of select="$type_uri"/>; $prefix:<xsl:value-of select="$prefix"/>;</xsl:message>
|
|
<xsl:if test="$debug_level>3"><xsl:message>1457b: @ref:<xsl:value-of select="$type"/>; $ref_id:<xsl:value-of select="$ref_id"/>; $type_uri:<xsl:value-of select="$type_uri"/>; $prefix:<xsl:value-of select="$prefix"/>;</xsl:message>
|
|
@@ -3918,7 +3918,7 @@
|
|
|
<xsl:when test="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix|system_cache__appinfo:get_all_xsd.default_db_xml_cache.public)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
<xsl:when test="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix|system_cache__appinfo:get_all_xsd.default_db_xml_cache.public)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
|
<xsl:message terminate="yes">940a: ERROR not found or too many elements with name:<xsl:value-of select="$type"/>; on @tNS:<xsl:value-of select="$type_uri"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])"/></xsl:message>
|
|
<xsl:message terminate="yes">940a: ERROR not found or too many elements with name:<xsl:value-of select="$type"/>; on @tNS:<xsl:value-of select="$type_uri"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/(complexType|simpleType)[@name = system_cache__appinfo:clean_object_prefix($type)])"/></xsl:message>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
- <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix|system_cache__appinfo:get_all_xsd.default_db_xml_cache.public)/schema[@targetNamespace=$targetNamespace]/namespace::node()[.=$type_uri]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
|
|
|
|
+ <xsl:otherwise><xsl:value-of select="($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix|system_cache__appinfo:get_all_xsd.default_db_xml_cache.public)/schema[@targetNamespace=$targetNamespace]/namespace::node()[.=$type_uri]/name())[1]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
<xsl:if test="$debug_level>3">
|
|
<xsl:if test="$debug_level>3">
|
|
@@ -3985,7 +3985,7 @@
|
|
|
<xsl:when test="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/attribute[@name = system_cache__appinfo:clean_object_prefix($type)])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
<xsl:when test="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/attribute[@name = system_cache__appinfo:clean_object_prefix($type)])!=1" xpath-default-namespace="http://www.w3.org/2001/XMLSchema">
|
|
|
<xsl:message terminate="yes">1668a: ERROR not found or too many elements with name:<xsl:value-of select="$type"/>; on @tNS:<xsl:value-of select="$type_uri"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/attribute[@name = system_cache__appinfo:clean_object_prefix($type)])"/></xsl:message>
|
|
<xsl:message terminate="yes">1668a: ERROR not found or too many elements with name:<xsl:value-of select="$type"/>; on @tNS:<xsl:value-of select="$type_uri"/>; count:<xsl:value-of select="count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/attribute[@name = system_cache__appinfo:clean_object_prefix($type)])"/></xsl:message>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
- <xsl:otherwise><xsl:value-of select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$targetNamespace]/namespace::node()[.=$type_uri]/name()" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
|
|
|
|
+ <xsl:otherwise><xsl:value-of select="($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace=$targetNamespace]/namespace::node()[.=$type_uri]/name())[1]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
</xsl:variable>
|
|
|
|
|
|
|
@@ -4105,6 +4105,18 @@
|
|
|
<xsl:variable name="type" select="@name" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
|
|
<xsl:variable name="type" select="@name" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
|
|
|
<xsl:apply-templates mode="system_cache__appinfo:only_local_elements_list.complexType.child" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
|
|
<xsl:apply-templates mode="system_cache__appinfo:only_local_elements_list.complexType.child" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
|
|
|
</xsl:when>
|
|
</xsl:when>
|
|
|
|
|
+ <!-- testing 2021 -->
|
|
|
|
|
+ <xsl:when test="local-name()='simpleType'">
|
|
|
|
|
+ <xsl:variable name="type_uri" select="@system_cache__appinfo:namespace_uri" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
|
|
|
|
|
+ <xsl:variable name="type" select="@name" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
|
|
|
|
|
+ <xsl:apply-templates mode="system_cache__appinfo:only_local_elements_list.complexType.child" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+ <xsl:when test="local-name()='group'">
|
|
|
|
|
+ <xsl:variable name="type_uri" select="@system_cache__appinfo:namespace_uri" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
|
|
|
|
|
+ <xsl:variable name="type" select="@name" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
|
|
|
|
|
+ <xsl:apply-templates mode="system_cache__appinfo:only_local_elements_list.complexType.child" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
|
|
|
|
|
+ </xsl:when>
|
|
|
|
|
+
|
|
|
<xsl:otherwise><xsl:message terminate="yes">#3381 context should be only element or complexType but is nam()=<xsl:value-of select="name()"/>, @id=<xsl:value-of select="@id"/></xsl:message></xsl:otherwise>
|
|
<xsl:otherwise><xsl:message terminate="yes">#3381 context should be only element or complexType but is nam()=<xsl:value-of select="name()"/>, @id=<xsl:value-of select="@id"/></xsl:message></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
<!--<system_cache__appinfo:only_local_elements_list.complexType>
|
|
<!--<system_cache__appinfo:only_local_elements_list.complexType>
|
|
@@ -4139,6 +4151,27 @@
|
|
|
<xsl:apply-templates mode="system_cache__appinfo:only_local_elements_list.complexType.child" select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/complexType[@name = system_cache__appinfo:clean_object_prefix($type)]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
|
|
<xsl:apply-templates mode="system_cache__appinfo:only_local_elements_list.complexType.child" select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/complexType[@name = system_cache__appinfo:clean_object_prefix($type)]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
|
|
|
</xsl:template>
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
|
+ <!--
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <xsl:template match="simpleType[@name]" mode="system_cache__appinfo:only_local_elements_list.complexType.build_oject_install_se_ant_object" xpath-default-namespace="http://www.w3.org/2001/XMLSchema" >
|
|
|
|
|
+ <xsl:param name="namespace_uri_param" required="yes"/>
|
|
|
|
|
+ <xsl:variable name="type_uri" select="@system_cache__appinfo:namespace_uri"/>
|
|
|
|
|
+ <xsl:variable name="type" select="@system_cache__appinfo:extension_base"/>
|
|
|
|
|
+ <xsl:message>#3441-G testing 2021 $namespace_uri_param=<xsl:value-of select="$namespace_uri_param"/>; @id=<xsl:value-of select="@id"/> @name=<xsl:value-of select="@name"/>; @type=<xsl:value-of select="@type"/> detecting system_cache__appinfo:only_local_elements_list.complexType for $type_uri=<xsl:value-of select="$type_uri"/>; $type=<xsl:value-of select="$type"/>; </xsl:message>
|
|
|
|
|
+ <xsl:if test="not(count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/simpleType[@name = system_cache__appinfo:clean_object_prefix($type)]) = 1)" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"><xsl:message terminate="yes">#3414S not foud expected $type=<xsl:value-of select="$type"/>; simpleType in $type_uri=<xsl:value-of select="$type_uri"/>;</xsl:message></xsl:if>
|
|
|
|
|
+ <xsl:apply-templates mode="system_cache__appinfo:only_local_elements_list.complexType.child" select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/simpleType[@name = system_cache__appinfo:clean_object_prefix($type)]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
|
|
|
|
|
+ </xsl:template>
|
|
|
|
|
+ <xsl:template match="group[@name]" mode="system_cache__appinfo:only_local_elements_list.complexType.build_oject_install_se_ant_object" xpath-default-namespace="http://www.w3.org/2001/XMLSchema" >
|
|
|
|
|
+ <xsl:param name="namespace_uri_param" required="yes"/>
|
|
|
|
|
+ <xsl:variable name="type_uri" select="@system_cache__appinfo:namespace_uri"/>
|
|
|
|
|
+ <xsl:variable name="type" select="@system_cache__appinfo:extension_base"/>
|
|
|
|
|
+ <xsl:message>#3441-G testing 2021 $namespace_uri_param=<xsl:value-of select="$namespace_uri_param"/>; @id=<xsl:value-of select="@id"/> @name=<xsl:value-of select="@name"/>; @type=<xsl:value-of select="@type"/> detecting system_cache__appinfo:only_local_elements_list.complexType for $type_uri=<xsl:value-of select="$type_uri"/>; $type=<xsl:value-of select="$type"/>; </xsl:message>
|
|
|
|
|
+ <xsl:if test="not(count($procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/group[@name = system_cache__appinfo:clean_object_prefix($type)]) = 1)" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"><xsl:message terminate="yes">#3414S not foud expected $type=<xsl:value-of select="$type"/>; group in $type_uri=<xsl:value-of select="$type_uri"/>;</xsl:message></xsl:if>
|
|
|
|
|
+ <xsl:apply-templates mode="system_cache__appinfo:only_local_elements_list.complexType.child" select="$procesy5_system_schema/system_cache__appinfo:get_all_xsd_list/(system_cache__appinfo:get_all_xsd|system_cache__appinfo:get_all_xsd_external_schema_id_namespace_prefix)/schema[@targetNamespace = $type_uri]/group[@name = system_cache__appinfo:clean_object_prefix($type)]" xpath-default-namespace="http://www.w3.org/2001/XMLSchema"/>
|
|
|
|
|
+ </xsl:template>-->
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<xsl:template match="complexType[@name]" mode="system_cache__appinfo:only_local_elements_list.complexType.build_oject_install_se_ant_object" xpath-default-namespace="http://www.w3.org/2001/XMLSchema" >
|
|
<xsl:template match="complexType[@name]" mode="system_cache__appinfo:only_local_elements_list.complexType.build_oject_install_se_ant_object" xpath-default-namespace="http://www.w3.org/2001/XMLSchema" >
|
|
|
<xsl:param name="namespace_uri_param" required="yes"/>
|
|
<xsl:param name="namespace_uri_param" required="yes"/>
|
|
|
<xsl:variable name="type_uri" select="@system_cache__appinfo:namespace_uri"/>
|
|
<xsl:variable name="type_uri" select="@system_cache__appinfo:namespace_uri"/>
|