You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Martynas Jusevičius <ma...@graphity.org> on 2014/06/25 21:41:05 UTC
Turning off RDF/XML canonicalization check
Hey,
is this possible? Or is there a workaround?
I need XMLLiteral as embedded XML (actually XHTML) regardless if it's
canonical or not, otherwise XSLT processing breaks. I've tuned the
XHTML quite sucessfully, but still there are some large literals
failing, even though they look canonical to me.
Related to an old issue:
http://mail-archives.apache.org/mod_mbox/jena-users/201206.mbox/%3C4FE85AE1.1070504@apache.org%3E
I'm using Jena 2.11.0
Martynas
graphityhq.com
Re: Turning off RDF/XML canonicalization check
Posted by Andy Seaborne <an...@apache.org>.
Does it have to be an XMLLitral?
While RDF 1.1 at least makes rdf:XMLLiteal, a datatype like another
datatype (it had special status as built-in in RDF 1.0), the formal
definition hasn't changed, canonicalization and all because it may be
output in RDF/XML, so it's got to be at least self contained.
Could you use a different datatype?
RDF 1.1 added rdf:HTML for HTML. How about martynas:xhtml?
On 25/06/14 21:19, Martynas Jusevičius wrote:
> I would be willing to fix the XHTML as well, but I haven't found a way
> to identify exactly what causes the problem.
'fraid it's divide and conquer (after feeding through a formatter).
andy
>
> I'm attaching the file, maybe that helps.
>
> On Wed, Jun 25, 2014 at 9:41 PM, Martynas Jusevičius
> <ma...@graphity.org> wrote:
>> Hey,
>>
>> is this possible? Or is there a workaround?
>>
>> I need XMLLiteral as embedded XML (actually XHTML) regardless if it's
>> canonical or not, otherwise XSLT processing breaks. I've tuned the
>> XHTML quite sucessfully, but still there are some large literals
>> failing, even though they look canonical to me.
>>
>> Related to an old issue:
>> http://mail-archives.apache.org/mod_mbox/jena-users/201206.mbox/%3C4FE85AE1.1070504@apache.org%3E
>>
>> I'm using Jena 2.11.0
>>
>>
>> Martynas
>> graphityhq.com
Re: Turning off RDF/XML canonicalization check
Posted by Martynas Jusevičius <ma...@graphity.org>.
I would be willing to fix the XHTML as well, but I haven't found a way
to identify exactly what causes the problem.
I'm attaching the file, maybe that helps.
On Wed, Jun 25, 2014 at 9:41 PM, Martynas Jusevičius
<ma...@graphity.org> wrote:
> Hey,
>
> is this possible? Or is there a workaround?
>
> I need XMLLiteral as embedded XML (actually XHTML) regardless if it's
> canonical or not, otherwise XSLT processing breaks. I've tuned the
> XHTML quite sucessfully, but still there are some large literals
> failing, even though they look canonical to me.
>
> Related to an old issue:
> http://mail-archives.apache.org/mod_mbox/jena-users/201206.mbox/%3C4FE85AE1.1070504@apache.org%3E
>
> I'm using Jena 2.11.0
>
>
> Martynas
> graphityhq.com