« Devel snippets | Main | Vague post is vague »

October 06, 2011

EML and DEIMS - Code-Definition Parsing

Whew. I am the world's slowest debugger but I am also doggedly persistent.

From the DEIMS Google code repository:

Code-Definition variable information not parsed
What steps will reproduce the problem?
1. Create an EML document of a dataset containing variables that have code-definitions

What is the expected output? What do you see instead?
These code-definitions are NOT included in the EML document

What version of the product are you using? On what operating system?
Patch is applied against the latest (Oct. 6th) Google version

The conditional statement that leads to code-definitions being parsed does not include a check on whether the $code_definitions array contains values. Adding this check allows downstream parsing to occur.

Here is the patch:

--- /home/data/Desktop/views_bonus_eml/export/views-bonus-eml-export-eml.tpl.php 2010-12-16 14:28:50.000000000 -0500
+++ /home/data/Desktop/views-bonus-eml-export-eml.tpl.php.patched 2011-10-06 11:36:42.000000000 -0400
@@ -313,7 +313,8 @@
$attribute_maximum[0]['value'] ||
$attribute_minimum[0]['value'] ||
$attribute_precision[0]['value'] ||
- $attribute_unit[0]['value']) {
+ $attribute_unit[0]['value'] ||
+ $code_definitions[0]['value']) {
views_bonus_eml_print_open_tag('measurementScale');
if ($attribute_formatstring[0]['value']) {
views_bonus_eml_print_open_tag('datatime');

Posted by kkwaiser at October 6, 2011 11:51 AM

Trackback Pings

TrackBack URL for this entry:
http://mblog.lib.umich.edu/mt-bin/mt-tb.cgi/2258

Listed below are links to weblogs that reference EML and DEIMS - Code-Definition Parsing:

» Tyra Jablonski from Tyra Jablonski
I loved your article post.Much thanks again. Really Cool. [Read More]

Tracked on January 29, 2012 02:06 AM

» Jasmyn Matt from Jasmyn Matt
I think this is a real great blog.Much thanks again. Keep writing. [Read More]

Tracked on February 1, 2012 09:24 AM

» Issac Weil from Issac Weil
Really enjoyed this blog.Thanks Again. Fantastic. [Read More]

Tracked on February 11, 2012 09:03 PM

» Annie Thorpe from Annie Thorpe
Really appreciate you sharing this blog article.Really looking forward to read more. Really Cool. [Read More]

Tracked on February 23, 2012 05:41 PM

» Asher Salter from Asher Salter
Really enjoyed this blog post.Much thanks again. Much obliged. [Read More]

Tracked on February 27, 2012 06:00 AM

» kortingcodes from kortingcodes
Alle kortingscodes viir alle winkels [Read More]

Tracked on November 1, 2012 11:58 PM

» christian louboutin uk from christian louboutin uk
J'aime ce blog Web beaucoup, c'est une situation cliquetis agréable à lire et à obtenir des informations. ?Taint't la peine de porter un jour tout avant qu'il arrive." Par Sarah Orne Jewett. [Read More]

Tracked on April 4, 2013 04:28 PM

» chanel online from chanel online
Very exciting information! Perfect exactly what I was trying to find! [Read More]

Tracked on April 11, 2013 04:32 AM

» nike flyknit from nike flyknit
This is getting a bit more subjective, but I much prefer the Zune Marketplace. The interface is colorful, has more flair, and some cool features like 'Mixview' that let you quickly see related albums, songs, or other users related to what you're listen... [Read More]

Tracked on April 18, 2013 02:05 PM

» TRX on Sale from TRX on Sale
Dig up who's chatting about Trx Suspension System and the key reasons why you ought to worry. [Read More]

Tracked on April 21, 2013 03:14 PM

» new balance sale from new balance sale
Zune and iPod: Most people compare the Zune to the Touch, but after seeing how slim and surprisingly small and light it is, I consider it to be a rather unique hybrid that combines qualities of both the Touch and the Nano. It's very colorful and lovely... [Read More]

Tracked on April 21, 2013 11:26 PM

» HjZLbaLg from HjZLbaLg
Data Discussions: EML and DEIMS - Code-Definition Parsing [Read More]

Tracked on April 21, 2013 11:30 PM

» tiOsIyqR from tiOsIyqR
Data Discussions: EML and DEIMS - Code-Definition Parsing [Read More]

Tracked on April 21, 2013 11:30 PM

» mulberry bags from mulberry bags
Data Discussions: EML and DEIMS - Code-Definition Parsing [Read More]

Tracked on April 22, 2013 09:23 AM

» nike flyknit from nike flyknit
Hands down, Apple's app store wins by a mile. It's a huge selection of all sorts of apps vs a rather sad selection of a handful for Zune. Microsoft has plans, especially in the realm of games, but I'm not sure I'd want to bet on the future if this aspe... [Read More]

Tracked on April 22, 2013 04:40 PM

» flyknit trainer nike from flyknit trainer nike
Zune and iPod: Most people compare the Zune to the Touch, but after seeing how slim and surprisingly small and light it is, I consider it to be a rather unique hybrid that combines qualities of both the Touch and the Nano. It's very colorful and lovely... [Read More]

Tracked on April 22, 2013 05:53 PM

» red bottom shoes from red bottom shoes
Data Discussions: EML and DEIMS - Code-Definition Parsing [Read More]

Tracked on April 22, 2013 06:26 PM

» miu miu from miu miu
Data Discussions: EML and DEIMS - Code-Definition Parsing [Read More]

Tracked on April 22, 2013 08:01 PM

» Beats By Dre Solo Cheap from Beats By Dre Solo Cheap
New publishing shows the information of Buy Cheap Air Jordan 11 Concord and the reason why you must take action soon. [Read More]

Tracked on April 23, 2013 04:46 PM

» burberry bags from burberry bags
Data Discussions: EML and DEIMS - Code-Definition Parsing [Read More]

Tracked on April 24, 2013 04:13 AM

» celine bags from celine bags
Data Discussions: EML and DEIMS - Code-Definition Parsing [Read More]

Tracked on April 24, 2013 12:59 PM

» seo tools from seo tools
Data Discussions: EML and DEIMS - Code-Definition Parsing [Read More]

Tracked on April 26, 2013 01:48 PM

» sac louis vuitton from sac louis vuitton
Data Discussions: EML and DEIMS - Code-Definition Parsing [Read More]

Tracked on April 30, 2013 02:37 AM

» www.michaelkorsausa.com from www.michaelkorsausa.com
Beginner site tells the low down over Air Jordan 11 Concord 2010 and in addition reasons why you need to take action now. [Read More]

Tracked on April 30, 2013 11:02 AM

» jeremy scott chaussures from jeremy scott chaussures
Hands down, Apple's app store wins by a mile. It's a huge selection of all sorts of apps vs a rather sad selection of a handful for Zune. Microsoft has plans, especially in the realm of games, but I'm not sure I'd want to bet on the future if this aspe... [Read More]

Tracked on April 30, 2013 06:23 PM

» nike blazers sale from nike blazers sale
Sorry for the huge review, but I'm really loving the new Zune, and hope this, as well as the excellent reviews some other people have written, will help you decide if it's the right choice for you. [Read More]

Tracked on April 30, 2013 07:15 PM

» nike blazer from nike blazer
It occurred to me that plants can be something really mysterious and as alive as a jumping fish. Beeches with white arms embracing above our head, squat oaks and tortured elms straggled cheek by jowl of the beeches. Nettles choked the terrace, ivy held... [Read More]

Tracked on May 2, 2013 08:12 AM

» diablo 3 gold from diablo 3 gold
Data Discussions: EML and DEIMS - Code-Definition Parsing [Read More]

Tracked on May 3, 2013 07:04 PM

» louis vuitton bags from louis vuitton bags
Data Discussions: EML and DEIMS - Code-Definition Parsing [Read More]

Tracked on May 5, 2013 03:22 PM

» FakE OaklEy FaSt JackEt from FakE OaklEy FaSt JackEt
I would like to understand when you write this article is what kind of mood, why would you write this article, also written so splendid, is that I can emulate. I think I could record something like you. [Read More]

Tracked on May 9, 2013 06:13 PM

» chaussures christian louboutin from chaussures christian louboutin
Data Discussions: EML and DEIMS - Code-Definition Parsing [Read More]

Tracked on May 14, 2013 01:48 AM

» coach bags from coach bags
Data Discussions: EML and DEIMS - Code-Definition Parsing [Read More]

Tracked on May 14, 2013 01:49 AM

» PRADA HANDBAGS from PRADA HANDBAGS
Data Discussions: EML and DEIMS - Code-Definition Parsing [Read More]

Tracked on May 14, 2013 01:49 AM

» chanel handbags from chanel handbags
Data Discussions: EML and DEIMS - Code-Definition Parsing [Read More]

Tracked on May 14, 2013 01:49 AM

» Cheap Bruins Jerseys from Cheap Bruins Jerseys
In 1955 Kaline became the youngest baseball player ever to win a batting title. In reality he was just 1 day younger than the prior record holder (Ty Cobb) when he broke the record. [Read More]

Tracked on May 16, 2013 07:13 PM

» bestgamelaptop.com from bestgamelaptop.com
you've got a terrific blog the following! would you want to help make some invite posts on my blog? [Read More]

Tracked on May 22, 2013 03:31 AM

Comments

Login to leave a comment. Create a new account.