Project

General

Profile

« Previous | Next » 

Revision 1293

mappings/VegX-VegBIEN.organisms.csv: Removed unneeded lookahead assertions from stemtag mappings. They relied on a bug ("feature"?) in the XPath engine that made the value of the lookahead assertion's path the same as the value of the main path, even though the value is set after the path is parsed.

View differences:

VegX-VegBIEN.organisms.csv
77 77
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/simpleUserdefined[name=stemHeightFirstBranchM]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/heightfirstbranch,
78 78
/simpleUserdefined[name=htFirstBranchM]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/heightfirstbranch,
79 79
/simpleUserdefined[name=stemHeightFirstBranchM]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/heightfirstbranch,
80
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/*ID->/*s/individualOrganism/identificationLabel,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[""""/iscurrent/_alt/2=true](/tag)",Quotes sort it before tag2
81
/*ID->/*s/individualOrganism/identificationLabel,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[""""/iscurrent/_alt/2=true](/tag)",Quotes sort it before tag2
82
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/simpleUserdefined[name=tag2]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[iscurrent=true]:[../stemtag?[iscurrent/_alt/2=true]/iscurrent/_alt/1=false](/tag),
83
/simpleUserdefined[name=tag2]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[iscurrent=true]:[../stemtag?[iscurrent/_alt/2=true]/iscurrent/_alt/1=false](/tag),
80
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/*ID->/*s/individualOrganism/identificationLabel,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[""""/iscurrent/_alt/2=true]/tag",Quotes sort it before tag2
81
/*ID->/*s/individualOrganism/identificationLabel,"/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[""""/iscurrent/_alt/2=true]/tag",Quotes sort it before tag2
82
->/*s/individualOrganismObservation[relatedItem[relationshipType=stemParent]/relatedItemID]/simpleUserdefined[name=tag2]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[iscurrent=true]:[../stemtag?[iscurrent/_alt/2=true]/iscurrent/_alt/1=false]/tag,
83
/simpleUserdefined[name=tag2]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/stemtag[iscurrent=true]:[../stemtag?[iscurrent/_alt/2=true]/iscurrent/_alt/1=false]/tag,
84 84
/simpleUserdefined[name=xPosition]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/xposition,
85 85
/simpleUserdefined[name=yPosition]/value,/aggregateoccurrence/*_id/plantobservation/stemobservation/yposition,
86 86
/simpleUserdefined[name=count]/value,/aggregateoccurrence/count,

Also available in: Unified diff