Re: ParseError while parsing entity in TriX

2020-07-13 Thread Martynas Jusevičius
Andy, I've switched the output to XML version 1.1 and started getting a lot of inexplicable and seemingly random riot warnings, such as 18:49:18 WARN riot :: [line: 181, col: 15] Bad IRI: Spaces are not legal in URIs/IRIs. where line 181 simply reads: https://localho

[ANN] Apache Jena 3.16.0

2020-07-13 Thread Andy Seaborne
The Apache Jena development community is pleased to announce the release of Apache Jena 3.16.0. In this release: Completed support for RDF* with implementation for TDB1 and TDB2. https://jena.apache.org/documentation/rdfstar/ SHACL Compact Syntax reader https://jena.apache.org/docum

Re: SPARQL semantics: MAX with unbound value

2020-07-13 Thread Andy Seaborne
Willem, The results have unbound because there is error in evaluation, not because there is an unbound in the input. It's not "unbound" in the MIN or MAX ordering because the expression (?x) is evaluated and eval(?x) is "error" not undef then ListEval retains errors then ToList will be undef

SPARQL semantics: MAX with unbound value

2020-07-13 Thread Willem Broekema
Here's a query where I'd like to check that ARQ 3.15 does the right thing: select (min(?x) as ?min) (max(?x) as ?max) { values ?x { undef 3 } } ARQ returns both as unbound. I expect: ?min = unbound, ?max = 3. The ordering between the unbound value and 3 is well defined: unbound values come firs

Re: ParseError while parsing entity in TriX

2020-07-13 Thread Martynas Jusevičius
Thanks Andy. I was making an example when I got your message :) I've found that form feed is not allowed in XML 1.0 but allowed in XML 1.1 https://stackoverflow.com/questions/15034302/how-can-i-add-form-feed-character-into-text-that-i-am-creating-with-xslt/37790009 I tried TriX as XML version 1.1

Re: ParseError while parsing entity in TriX

2020-07-13 Thread Andy Seaborne
Small example? Try with and without ? http://www.w3.org/2004/03/trix/trix-1/";> http://example.org/Bob http://example.org/name Bob 10:10:19 ERROR riot:: [line: 6, col: 29] XML error: ParseError at [row,col]:[6,29] Message: Character reference "