[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue-common/utils/xml2sql pgsql.xsl
From: |
Reinhard Mueller |
Subject: |
gnue-common/utils/xml2sql pgsql.xsl |
Date: |
Sun, 19 Oct 2003 11:20:28 -0400 |
CVSROOT: /cvsroot/gnue
Module name: gnue-common
Branch:
Changes by: Reinhard Mueller <address@hidden> 03/10/19 11:20:28
Modified files:
utils/xml2sql : pgsql.xsl
Log message:
The correct field name for "datetime" is "timestamp".
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/utils/xml2sql/pgsql.xsl.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
Patches:
Index: gnue-common/utils/xml2sql/pgsql.xsl
diff -c gnue-common/utils/xml2sql/pgsql.xsl:1.9
gnue-common/utils/xml2sql/pgsql.xsl:1.10
*** gnue-common/utils/xml2sql/pgsql.xsl:1.9 Sun Oct 19 06:10:16 2003
--- gnue-common/utils/xml2sql/pgsql.xsl Sun Oct 19 11:20:28 2003
***************
*** 51,57 ****
<xsl:when test="@type = "blob""><xsl:text>
</xsl:text>text</xsl:when>
<xsl:when test="@type = "date""><xsl:text>
date</xsl:text></xsl:when>
<xsl:when test="@type = "time""><xsl:text>
time</xsl:text></xsl:when>
! <xsl:when test="@type = "datetime""><xsl:text>
timestamp</xsl:text></xsl:when>
<xsl:when test="@type = "boolean""><xsl:text>
boolean</xsl:text></xsl:when>
<xsl:otherwise><xsl:text> </xsl:text>UNHANDLED TYPE(<xsl:value-of
select="@type"/>)</xsl:otherwise>
</xsl:choose>
--- 51,57 ----
<xsl:when test="@type = "blob""><xsl:text>
</xsl:text>text</xsl:when>
<xsl:when test="@type = "date""><xsl:text>
date</xsl:text></xsl:when>
<xsl:when test="@type = "time""><xsl:text>
time</xsl:text></xsl:when>
! <xsl:when test="@type = "timestamp""><xsl:text>
timestamp</xsl:text></xsl:when>
<xsl:when test="@type = "boolean""><xsl:text>
boolean</xsl:text></xsl:when>
<xsl:otherwise><xsl:text> </xsl:text>UNHANDLED TYPE(<xsl:value-of
select="@type"/>)</xsl:otherwise>
</xsl:choose>