Skip to content

Commit

Permalink
Changing from _SCITE- to _SCITE as sobj marker
Browse files Browse the repository at this point in the history
  • Loading branch information
mwjames committed Nov 29, 2015
1 parent a620fb0 commit 5cd1e9a
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/SciteParserFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private function tryToMatchCitationTextByPrecept( ParserParameterProcessor $pars
private function addPropertyValuesFor( ParserParameterProcessor $parserParameterProcessor, $reference ) {

$subobject = new Subobject( $this->parserData->getTitle() );
$subobject->setEmptyContainerForId( '_SCITE-' . md5( $reference ) );
$subobject->setEmptyContainerForId( '_SCITE' . md5( $reference ) );

$subject = $this->parserData->getSemanticData()->getSubject();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
"strict-mode-valuematch": false,
"propertyCount": 3,
"propertyKeys": [ "__sci_cite", "_MDAT", "_SKEY" ],
"propertyValues": [ "Citation/Resource#_SCITE-86f84b9b2cf2ae4405199e26f121b4e9" ]
"propertyValues": [ "Citation/Resource#_SCITE86f84b9b2cf2ae4405199e26f121b4e9" ]
}
}
},
{
"about": "#1 verify citation resource container",
"subject": "Citation/Resource#_SCITE-86f84b9b2cf2ae4405199e26f121b4e9",
"subject": "Citation/Resource#_SCITE86f84b9b2cf2ae4405199e26f121b4e9",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"parser-testcases": [
{
"about": "#0",
"subject": "Citation/Resource/1#_SCITE-86f84b9b2cf2ae4405199e26f121b4e9",
"subject": "Citation/Resource/1#_SCITE86f84b9b2cf2ae4405199e26f121b4e9",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand All @@ -30,7 +30,7 @@
},
{
"about": "#1",
"subject": "Citation/Resource/2#_SCITE-93a83f3f4f27770cf5084f131206bb3b",
"subject": "Citation/Resource/2#_SCITE93a83f3f4f27770cf5084f131206bb3b",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
"strict-mode-valuematch": false,
"propertyCount": 3,
"propertyKeys": [ "__sci_cite", "_MDAT", "_SKEY" ],
"propertyValues": [ "Citation/Resource/3#_SCITE-86f84b9b2cf2ae4405199e26f121b4e9" ]
"propertyValues": [ "Citation/Resource/3#_SCITE86f84b9b2cf2ae4405199e26f121b4e9" ]
}
}
},
{
"about": "#1 verify citation resource container",
"subject": "Citation/Resource/3#_SCITE-86f84b9b2cf2ae4405199e26f121b4e9",
"subject": "Citation/Resource/3#_SCITE86f84b9b2cf2ae4405199e26f121b4e9",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
"strict-mode-valuematch": false,
"propertyCount": 3,
"propertyKeys": [ "__sci_cite", "_MDAT", "_SKEY" ],
"propertyValues": [ "Citation/Resource/1#_SCITE-86f84b9b2cf2ae4405199e26f121b4e9" ]
"propertyValues": [ "Citation/Resource/1#_SCITE86f84b9b2cf2ae4405199e26f121b4e9" ]
}
}
},
{
"about": "#1 citation text determined by type-template mapping",
"subject": "Citation/Resource/1#_SCITE-86f84b9b2cf2ae4405199e26f121b4e9",
"subject": "Citation/Resource/1#_SCITE86f84b9b2cf2ae4405199e26f121b4e9",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand All @@ -59,13 +59,13 @@
"strict-mode-valuematch": false,
"propertyCount": 3,
"propertyKeys": [ "__sci_cite", "_MDAT", "_SKEY" ],
"propertyValues": [ "Citation/Resource/2#_SCITE-0c2129948fae0ce94908235dd949ea00" ]
"propertyValues": [ "Citation/Resource/2#_SCITE0c2129948fae0ce94908235dd949ea00" ]
}
}
},
{
"about": "#3 citation text determined by direct template assignment",
"subject": "Citation/Resource/2#_SCITE-0c2129948fae0ce94908235dd949ea00",
"subject": "Citation/Resource/2#_SCITE0c2129948fae0ce94908235dd949ea00",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"parser-testcases": [
{
"about": "#0",
"subject": "Citation/Resource#_SCITE-86f84b9b2cf2ae4405199e26f121b4e9",
"subject": "Citation/Resource#_SCITE86f84b9b2cf2ae4405199e26f121b4e9",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"parser-testcases": [
{
"about": "#0 DOI url annotation",
"subject": "Example/12/1#_SCITE-86f84b9b2cf2ae4405199e26f121b4e9",
"subject": "Example/12/1#_SCITE86f84b9b2cf2ae4405199e26f121b4e9",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand All @@ -38,7 +38,7 @@
},
{
"about": "#1 DOI short annotation",
"subject": "Example/12/1#_SCITE-86f84b9b2cf2ae4405199e26f121b4e9",
"subject": "Example/12/1#_SCITE86f84b9b2cf2ae4405199e26f121b4e9",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand All @@ -50,7 +50,7 @@
},
{
"about": "#2 OCLC/VIAF annotation",
"subject": "Example/12/3#_SCITE-86f84b9b2cf2ae4405199e26f121b4e9",
"subject": "Example/12/3#_SCITE86f84b9b2cf2ae4405199e26f121b4e9",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand All @@ -62,7 +62,7 @@
},
{
"about": "#3 PMID/PMCID annotation",
"subject": "Example/12/4#_SCITE-86f84b9b2cf2ae4405199e26f121b4e9",
"subject": "Example/12/4#_SCITE86f84b9b2cf2ae4405199e26f121b4e9",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand All @@ -74,7 +74,7 @@
},
{
"about": "#4 OLID annotation",
"subject": "Example/12/5#_SCITE-86f84b9b2cf2ae4405199e26f121b4e9",
"subject": "Example/12/5#_SCITE86f84b9b2cf2ae4405199e26f121b4e9",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@
"strict-mode-valuematch": false,
"propertyCount": 3,
"propertyKeys": [ "__sci_cite", "_MDAT", "_SKEY" ],
"propertyValues": [ "Example/12/1#_SCITE-7a0c0a939e8181da78d3ebe6cf09eeca" ]
"propertyValues": [ "Example/12/1#_SCITE7a0c0a939e8181da78d3ebe6cf09eeca" ]
}
}
},
{
"about": "#1",
"subject": "Example/12/1#_SCITE-7a0c0a939e8181da78d3ebe6cf09eeca",
"subject": "Example/12/1#_SCITE7a0c0a939e8181da78d3ebe6cf09eeca",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand All @@ -87,7 +87,7 @@
},
{
"about": "#2 with separated authors",
"subject": "Example/12/2#_SCITE-b9a7caa631427c26f4c8e70219b2cda9",
"subject": "Example/12/2#_SCITEb9a7caa631427c26f4c8e70219b2cda9",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand All @@ -99,7 +99,7 @@
},
{
"about": "#3 explicit reference/type precedes",
"subject": "Example/12/3#_SCITE-99250259e6747c8f1c3876637a69d68c",
"subject": "Example/12/3#_SCITE99250259e6747c8f1c3876637a69d68c",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand All @@ -111,7 +111,7 @@
},
{
"about": "#4 access hidden bibtex-author, see #12",
"subject": "Example/12/4#_SCITE-b375bde01f73d04037215f4614f81cc1",
"subject": "Example/12/4#_SCITEb375bde01f73d04037215f4614f81cc1",
"store": {
"semantic-data": {
"strict-mode-valuematch": false,
Expand Down

0 comments on commit 5cd1e9a

Please sign in to comment.