You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/24 11:32:20 UTC

[jira] [Commented] (JENA-1211) TriX reader/writer incompatible with W3C DTD

    [ https://issues.apache.org/jira/browse/JENA-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15391030#comment-15391030 ] 

ASF GitHub Bot commented on JENA-1211:
--------------------------------------

GitHub user afs opened a pull request:

    https://github.com/apache/jena/pull/158

    JENA-1211 "trix"

    Accept "TriX" and "trix" elements 
    Write "trix".
    
    "TriX" is the element name in the HPL techreport.
    "trix" is the element name in the W3C DTD and schema.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/afs/jena jena-1211-trix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jena/pull/158.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #158
    
----
commit bcd7e400975b45c36d40636ee06f7930dfbac374
Author: Andy Seaborne <an...@apache.org>
Date:   2016-07-24T10:07:13Z

    JENA-1211: Read both 'TriX' and 'trix'; write 'trix'

commit 3cc29462470f86c07e12581611f0e67ff1cc2a61
Author: Andy Seaborne <an...@apache.org>
Date:   2016-07-24T11:04:34Z

    Remove unnecessary suppressed warnings.

commit ea83371ee2938fa7828802889067500d5a384818
Author: Andy Seaborne <an...@apache.org>
Date:   2016-07-24T11:23:51Z

    JENA-1211: Tests

commit 0927884002ec8f42c198616eb9b1ee92cd8ba331
Author: Andy Seaborne <an...@apache.org>
Date:   2016-07-24T11:24:24Z

    Misplaced start/finish - fix for streaming oputput

----


> TriX reader/writer incompatible with W3C DTD
> --------------------------------------------
>
>                 Key: JENA-1211
>                 URL: https://issues.apache.org/jira/browse/JENA-1211
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ, RIOT
>    Affects Versions: Jena 3.0.1
>            Reporter: Martynas Jusevičius
>            Priority: Minor
>
> The TriX namespace http://www.w3.org/2004/03/trix/trix-1/ resolves to the following DTD: https://www.w3.org/2004/03/trix/trix-1/trix-1.0.dtd
> This DTD defines {{<trix>}} as the root XML element.
> Jena however uses another version of the format with {{<TriX>}} as the root element.
> Ideally, {{ReaderTrix}} and {{(Stream)WriterTrix}} should support both versions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)