Changeset 2330


Ignore:
Timestamp:
10/24/12 07:20:55 (12 years ago)
Author:
mwindhouwer
Message:

M mod-ISOcat-interface-rest/representations/dcs2/xsd.xsl
M mod-ISOcat-interface-rest/representations/dcs2/rng.xsl

  • fixeup namespaces
Location:
cats/ISOcat/trunk/mod-ISOcat-interface-rest/representations/dcs2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cats/ISOcat/trunk/mod-ISOcat-interface-rest/representations/dcs2/rng.xsl

    r2327 r2330  
    100100                <rng:value>
    101101                    <rng:data type="{$datatype}">
    102                         <xsl:copy-of select="(dcif:conceptualDomain[dcif:ruleType='Relax NG datatype parameter']/dcif:rule/*)[1]"/>
     102                        <xsl:copy-of copy-namespaces="no"
     103                            select="(dcif:conceptualDomain[dcif:ruleType='Relax NG datatype parameter']/dcif:rule/*)[1]"/>
    103104                    </rng:data>
    104105                </rng:value>
     
    117118                <xsl:variable name="datatype" select="(dcif:conceptualDomain/dcif:dataType)[1]"/>
    118119                <xsl:attribute name="type" select="concat('xs:',$datatype)"/>
    119                 <xsl:copy-of select="(dcif:conceptualDomain[dcif:ruleType='Schematron rule']/dcif:rule/*)[1]"/>
     120                <xsl:copy-of copy-namespaces="no"
     121                    select="(dcif:conceptualDomain[dcif:ruleType='Schematron rule']/dcif:rule/*)[1]"/>
    120122            </xsl:when>
    121123            <xsl:when test="dcif:conceptualDomain[dcif:ruleType='SCHEMAcat reference']">
    122                 <xsl:copy-of select="(dcif:conceptualDomain[dcif:ruleType='SCHEMAcat reference']/dcif:rule/*)[1]"/>
     124                <xsl:copy-of copy-namespaces="no"
     125                    select="(dcif:conceptualDomain[dcif:ruleType='SCHEMAcat reference']/dcif:rule/*)[1]"/>
    123126                <xsl:variable name="datatype" select="(dcif:conceptualDomain/dcif:dataType)[1]"/>
    124127                <rng:value>
  • cats/ISOcat/trunk/mod-ISOcat-interface-rest/representations/dcs2/xsd.xsl

    r2326 r2330  
    102102                <xs:simpleType>
    103103                    <xs:restriction base="xs:{$datatype}">
    104                         <xsl:copy-of
     104                        <xsl:copy-of copy-namespaces="no"
    105105                            select="(dcif:conceptualDomain[dcif:ruleType='XML Schema facet']/dcif:rule/*)[1]"/>
    106106                    </xs:restriction>
     
    120120                <xsl:variable name="datatype" select="(dcif:conceptualDomain/dcif:dataType)[1]"/>
    121121                <xsl:attribute name="type" select="concat('xs:',$datatype)"/>
    122                 <xsl:copy-of
     122                <xsl:copy-of copy-namespaces="no"
    123123                    select="(dcif:conceptualDomain[dcif:ruleType='Schematron rule']/dcif:rule/*)[1]"/>
    124124            </xsl:when>
     
    128128                <xs:annotation>
    129129                    <xs:appinfo>
    130                         <xsl:copy-of
     130                        <xsl:copy-of copy-namespaces="no"
    131131                            select="(dcif:conceptualDomain[dcif:ruleType='SCHEMAcat reference']/dcif:rule/*)[1]"/>
    132132                    </xs:appinfo>
Note: See TracChangeset for help on using the changeset viewer.