|
|
@@ -3328,15 +3328,15 @@
|
|
|
<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>
|
|
|
</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 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:choose>
|
|
|
</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="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]/namespace::node()[.=$type_uri]/name()) > 1">
|
|
|
- <xsl:message terminate="no">#1517A ERROR - probably You have wrong schema .xsd files with twice set targetnamespace for $prefix:<xsl:value-of select="$prefix"/>; - it could be OK for importing external schemas for local default_db prefix ($type="<xsl:value-of select="$type"/>") ; (@targetNamespace=$type_uri="<xsl:value-of select="$type_uri"/>")</xsl:message>
|
|
|
+ <xsl:message terminate="no">#1517A ERROR - probably You have wrong schema .xsd files with twice set targetnamespace for $prefix:"<xsl:value-of select="$prefix"/>"; - it could be OK for importing external schemas for local default_db prefix ($type="<xsl:value-of select="$type"/>") ; (@targetNamespace=$type_uri="<xsl:value-of select="$type_uri"/>")</xsl:message>
|
|
|
</xsl:if>
|
|
|
<xsl:if test="substring-before($prefix,' ')">
|
|
|
- <xsl:message terminate="yes">#1517B ERROR - probably You have wrong schema .xsd files with twice set targetnamespace for $prefix:<xsl:value-of select="$prefix"/>; $type_uri = <xsl:value-of select="$type_uri"/>; $targetNamespace = <xsl:value-of select="$targetNamespace"/>; @ref=<xsl:value-of select="."/>; @id= <xsl:value-of select="../@id"/>; ($type="<xsl:value-of select="$type"/>")</xsl:message>
|
|
|
+ <xsl:message terminate="yes">#1517B ERROR - probably You have wrong schema .xsd files with twice set targetnamespace for $prefix:"<xsl:value-of select="$prefix"/>"; $type_uri = <xsl:value-of select="$type_uri"/>; $targetNamespace = <xsl:value-of select="$targetNamespace"/>; @ref=<xsl:value-of select="."/>; @id= <xsl:value-of select="../@id"/>; ($type="<xsl:value-of select="$type"/>")</xsl:message>
|
|
|
</xsl:if>
|
|
|
|
|
|
<xsl:if test="$debug_level>3"><xsl:message>187b: @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>
|