[
https://issues.apache.org/jira/browse/MARMOTTA-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13712569#comment-13712569
]
Sergio Fernández commented on MARMOTTA-270:
-------------------------------------------
Should be available in the last 3.1.0-SNAPSHOT builds deployed at the Apache
Snapshots Repository:
https://repository.apache.org/content/repositories/snapshots/
So just add something like:
<repositories>
(...)
<repository>
<id>apache.snapshots</id>
<name>Apache Snapshots Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
</repository>
</repositories>
Your early tests would be welcomed :-)
> RDFPath grammar for URI is too restrictive
> ------------------------------------------
>
> Key: MARMOTTA-270
> URL: https://issues.apache.org/jira/browse/MARMOTTA-270
> Project: Marmotta
> Issue Type: Bug
> Components: LDPath
> Affects Versions: 3.0-incubating
> Reporter: Chris Beer
> Assignee: Sebastian Schaffert
>
> The RDFPath grammar in LDPath is too restrictive, and only validates URIs
> containing "://":
> URI: ["a"-"z","A"-"Z"](["a"-"z","A"-"Z","0"-"9","+","-","."])* "://"
> (["a"-"z","A"-"Z","0"-"9",";","/","?",":","@","&","=","+","$",".","-","_","!","~","*","'","%"])+
> ("#"
> (["a"-"z","A"-"Z","0"-"9",";","/","?",":","@","&","=","+","$",".","-","_","!","~","*","'","%"])*)?
> | "#"
> (["a"-"z","A"-"Z","0"-"9",";","/","?",":","@","&","=","+","$",".","-","_","!","~","*","'","%"])+>
> |
> [https://github.com/apache/incubator-marmotta/blob/master/libraries/ldpath/ldpath-core/src/main/javacc/at/newmedialab/ldpath/parser/rdfpath.jj#L390]
> So, a program like:
> @prefix fedora : <http://fedora.info/fedora-system:def/internal#> ;
> is valid, but a program containing:
> @prefix fedora : <info:fedora/fedora-system:def/internal#> ;
> fails with the exception:
> Caused by: org.apache.marmotta.ldpath.parser.ParseException: Encountered
> " "@prefix" "@prefix "" at line 1, column 1. Was expecting: <EOF>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira