From bugzilla-daemon at ecoinformatics.org  Thu Jan 18 11:39:40 2007
From: bugzilla-daemon at ecoinformatics.org (bugzilla-daemon@ecoinformatics.org)
Date: Thu, 18 Jan 2007 11:39:40 -0800 (PST)
Subject: [eml-dev] [Bug 2733] New: - Handle quoteCharacter element in EML
	parser
Message-ID: <20070118193940.6ED17311B8@ceres.ecoinformatics.org>

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2733

           Summary: Handle quoteCharacter element in EML parser
           Product: EML
           Version: 2.0.1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: datamanager
        AssignedTo: tao at nceas.ucsb.edu
        ReportedBy: tao at nceas.ucsb.edu
         QAContact: eml-dev at ecoinformatics.org


Margaret and Chat said it is very common that delimiter (such as ,) is used in
comment field in cvs file. However, our current EML parser couldn't handle this
case now. Even quoteCharacter is used, our eml parser will still consider the
delimiter character as a delimiter rather than escaping it. This will cause an
problem: the column number in metadata does not match the one in data. This is
new feature we need to add.

From bugzilla-daemon at ecoinformatics.org  Fri Jan 19 14:26:16 2007
From: bugzilla-daemon at ecoinformatics.org (bugzilla-daemon@ecoinformatics.org)
Date: Fri, 19 Jan 2007 14:26:16 -0800 (PST)
Subject: [eml-dev] [Bug 2737] New: - Exception when attributeName contains
	SQL keywords
Message-ID: <20070119222616.DAD1730E79@ceres.ecoinformatics.org>

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2737

           Summary: Exception when attributeName contains SQL keywords
           Product: EML
           Version: 2.0.1
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: datamanager
        AssignedTo: tao at nceas.ucsb.edu
        ReportedBy: cburt at msi.ucsb.edu
         QAContact: eml-dev at ecoinformatics.org


A dataset I'm working with has columns named "group" and "order". When trying
to import the dataset into a sql database using the DataManager library I get
this exception:

SQLException: ERROR: syntax error at or near "group"

The library has a problem with columns named after SQL keywords. While group
may be easier to avoid, order would not when storing taxonomic info. There is a
large list of reserved keywords for postgres including Year, Datestamp, etc
that I haven't yet tested.

Here is a link to the problem dataset:
http://sbcdata.lternet.edu/catalog/metacat?action=read&qformat=sbclter&docid=knb-lter-sbc.17.2&displaymodule=entity&entitytype=dataTable&entityindex=1

From bugzilla-daemon at ecoinformatics.org  Thu Jan 25 19:37:44 2007
From: bugzilla-daemon at ecoinformatics.org (bugzilla-daemon@ecoinformatics.org)
Date: Thu, 25 Jan 2007 19:37:44 -0800 (PST)
Subject: [eml-dev] [Bug 2733] - Handle quoteCharacter element in EML parser
Message-ID: <20070126033744.8D0E730E68@ceres.ecoinformatics.org>

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2733


tao at nceas.ucsb.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from tao at nceas.ucsb.edu  2007-01-25 19:37 -------
In emlparser, the quote and literal character will be stored. In the
DelimitedReader, new method to handle quote and literal character was added
too. After testing, the new feature is finished.

