Ignore:
Timestamp:
02/13/13 15:06:35 (11 years ago)
Author:
mwindhouwer
Message:

M mod-ISOcat-site/pub/isocat.pub

  • ??

M mod-ISOcat-access-data/access/dc_sql.xsl
M mod-ISOcat-access-data/access/forum-sync-script.acc
M mod-ISOcat-access-data/access/user_view.acc
M mod-ISOcat-access-data/dbx/DCIF.xml
M mod-ISOcat-manage-system/manage/import.acc
M mod-ISOcat-interface-rest/interface/search.acc

  • escape ' by instead of \' in SQL, this worked out of the box in PostgreSQL 8.x but PostgreSQL 9.x only is allowed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cats/ISOcat/trunk/mod-ISOcat-manage-system/manage/import.acc

    r2029 r2584  
    383383                                                                <sql>
    384384                                                                        <xsl:text>INSERT INTO DCIFimport (pid,tpe) VALUES ('</xsl:text>
    385                                                                         <xsl:value-of select="replace(@pid,'''','\\''')"/>
     385                                                                        <xsl:value-of select="replace(@pid,'''','''''')"/>
    386386                                                                        <xsl:text>','</xsl:text>
    387387                                                                        <xsl:value-of select="@type"/>
     
    392392                                                                <sql>
    393393                                                                        <xsl:text>INSERT INTO DCIFimport (pid,tpe,action) VALUES ('</xsl:text>
    394                                                                         <xsl:value-of select="replace(@pid,'''','\\''')"/>
     394                                                                        <xsl:value-of select="replace(@pid,'''','''''')"/>
    395395                                                                        <xsl:text>','</xsl:text>
    396396                                                                        <xsl:value-of select="@type"/>
Note: See TracChangeset for help on using the changeset viewer.