You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP 8.0.30 (cli) (built: Aug 3 2023 17:13:08) ( NTS gcc x86_64 )
[12.15s] PHP Warning: Trying to access array offset on value of type int in /srv/hedgehog/app/phplib/composer/vendor/semsol/arc2/parsers/ARC2_TurtleParser.php on line 566
PHP Version
PHP 8.0.30 (cli) (built: Aug 3 2023 17:13:08) ( NTS gcc x86_64 )
I've done some debugging and the warning is in xRDFLiteral when sometimes the value of $v seems to be truncated eg.:
string(51) " "FOO"^^<http://id.southampton.ac.uk/ns/building-co"
It feels like it's reading in blocks of data and ensuring it's got a full triple but not checking that the ^^ part is complete too?
The text was updated successfully, but these errors were encountered:
PHP 8.0.30 (cli) (built: Aug 3 2023 17:13:08) ( NTS gcc x86_64 )
[12.15s] PHP Warning: Trying to access array offset on value of type int in /srv/hedgehog/app/phplib/composer/vendor/semsol/arc2/parsers/ARC2_TurtleParser.php on line 566
PHP Version
PHP 8.0.30 (cli) (built: Aug 3 2023 17:13:08) ( NTS gcc x86_64 )
It only seems to happen on lines with a typed literal, and not every time that line shows up. eg. a file of 1000 identical triples:
http://id.southampton.ac.uk/building/FOO http://www.w3.org/2004/02/skos/core#notation "FOO"^^http://id.southampton.ac.uk/ns/building-code-scheme .
causes only a few warnings, not one per line
I've done some debugging and the warning is in xRDFLiteral when sometimes the value of $v seems to be truncated eg.:
string(51) " "FOO"^^<http://id.southampton.ac.uk/ns/building-co"
It feels like it's reading in blocks of data and ensuring it's got a full triple but not checking that the ^^ part is complete too?
The text was updated successfully, but these errors were encountered: