You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Stuart Williams (Created) (JIRA)" <ji...@apache.org> on 2012/01/30 11:53:10 UTC

[jira] [Created] (JENA-204) Schemagen picking random multi-lingual rdfs:comments as output Java comments

Schemagen picking random multi-lingual rdfs:comments as output Java comments
----------------------------------------------------------------------------

                 Key: JENA-204
                 URL: https://issues.apache.org/jira/browse/JENA-204
             Project: Jena
          Issue Type: Bug
          Components: Cmd line tools
    Affects Versions: Jena 2.7.0
         Environment: Window 7 x64
$ java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)

            Reporter: Stuart Williams
            Priority: Minor


Schemagen appears to propagate 'random' rdfs:comments into java comments in the output file. The org ontology (http://www.w3.org/ns/org#) has both English (@en) and French (@fr) rdfs:comments. The output from:

     schemagen -i http://www.w3.org/ns/org#

contains a random mix of French and English comments - one per item, but not all of one language.

This may be user error and there may be a switch that I've not found for selecting a comment language in the face of choice.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (JENA-204) Schemagen picking random multi-lingual rdfs:comments as output Java comments

Posted by "Andy Seaborne (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196050#comment-13196050 ] 

Andy Seaborne edited comment on JENA-204 at 1/30/12 11:04 AM:
--------------------------------------------------------------

Jena core from development: 2.7.1:

I seem to get both the English and the French in the comment, concatenated, no space.  Sometimes French is first some times English.

    /** <p>Indicates the site at which a person is based. We do not restrict the possibility 
     *  that a person is based at multiple sites.Indique le site sur lequel une personne 
     *  est bas?e. Nous ne limitons pas le nombre de sites sur lesquels une personne 
     *  peut ?tre bas?e.</p>
     */
    public static final Property basedAt = m_model.createProperty( "http://www.w3.org/ns/org#basedAt" );

There seems to be an encoding issue somewhere as well. The original looks to be UTF-8 clean.
                
      was (Author: andy.seaborne):
    I seem to get both the English and the French in the comment, concatenated, no space.  Sometimes French is first some times English.

    /** <p>Indicates the site at which a person is based. We do not restrict the possibility 
     *  that a person is based at multiple sites.Indique le site sur lequel une personne 
     *  est bas?e. Nous ne limitons pas le nombre de sites sur lesquels une personne 
     *  peut ?tre bas?e.</p>
     */
    public static final Property basedAt = m_model.createProperty( "http://www.w3.org/ns/org#basedAt" );

There seems to be an encoding issue somewhere as well. The original looks to be UTF-8 clean.
                  
> Schemagen picking random multi-lingual rdfs:comments as output Java comments
> ----------------------------------------------------------------------------
>
>                 Key: JENA-204
>                 URL: https://issues.apache.org/jira/browse/JENA-204
>             Project: Jena
>          Issue Type: Bug
>          Components: Cmd line tools
>    Affects Versions: Jena 2.7.0
>         Environment: Window 7 x64
> $ java -version
> java version "1.6.0_25"
> Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
>            Reporter: Stuart Williams
>            Priority: Minor
>
> Schemagen appears to propagate 'random' rdfs:comments into java comments in the output file. The org ontology (http://www.w3.org/ns/org#) has both English (@en) and French (@fr) rdfs:comments. The output from:
>      schemagen -i http://www.w3.org/ns/org#
> contains a random mix of French and English comments - one per item, but not all of one language.
> This may be user error and there may be a switch that I've not found for selecting a comment language in the face of choice.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JENA-204) Schemagen picking random multi-lingual rdfs:comments as output Java comments

Posted by "Andy Seaborne (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196050#comment-13196050 ] 

Andy Seaborne commented on JENA-204:
------------------------------------

I seem to get both the English and the French in the comment, concatenated, no space.  Sometimes French is first some times English.

    /** <p>Indicates the site at which a person is based. We do not restrict the possibility 
     *  that a person is based at multiple sites.Indique le site sur lequel une personne 
     *  est bas?e. Nous ne limitons pas le nombre de sites sur lesquels une personne 
     *  peut ?tre bas?e.</p>
     */
    public static final Property basedAt = m_model.createProperty( "http://www.w3.org/ns/org#basedAt" );

There seems to be an encoding issue somewhere as well. The original looks to be UTF-8 clean.
                
> Schemagen picking random multi-lingual rdfs:comments as output Java comments
> ----------------------------------------------------------------------------
>
>                 Key: JENA-204
>                 URL: https://issues.apache.org/jira/browse/JENA-204
>             Project: Jena
>          Issue Type: Bug
>          Components: Cmd line tools
>    Affects Versions: Jena 2.7.0
>         Environment: Window 7 x64
> $ java -version
> java version "1.6.0_25"
> Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
>            Reporter: Stuart Williams
>            Priority: Minor
>
> Schemagen appears to propagate 'random' rdfs:comments into java comments in the output file. The org ontology (http://www.w3.org/ns/org#) has both English (@en) and French (@fr) rdfs:comments. The output from:
>      schemagen -i http://www.w3.org/ns/org#
> contains a random mix of French and English comments - one per item, but not all of one language.
> This may be user error and there may be a switch that I've not found for selecting a comment language in the face of choice.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JENA-204) Schemagen picking random multi-lingual rdfs:comments as output Java comments

Posted by "Stuart Williams (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196086#comment-13196086 ] 

Stuart Williams commented on JENA-204:
--------------------------------------

Apologies... my bad... Andy's comment above is correct.
                
> Schemagen picking random multi-lingual rdfs:comments as output Java comments
> ----------------------------------------------------------------------------
>
>                 Key: JENA-204
>                 URL: https://issues.apache.org/jira/browse/JENA-204
>             Project: Jena
>          Issue Type: Bug
>          Components: Cmd line tools
>    Affects Versions: Jena 2.7.0
>         Environment: Window 7 x64
> $ java -version
> java version "1.6.0_25"
> Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
>            Reporter: Stuart Williams
>            Priority: Minor
>
> Schemagen appears to propagate 'random' rdfs:comments into java comments in the output file. The org ontology (http://www.w3.org/ns/org#) has both English (@en) and French (@fr) rdfs:comments. The output from:
>      schemagen -i http://www.w3.org/ns/org#
> contains a random mix of French and English comments - one per item, but not all of one language.
> This may be user error and there may be a switch that I've not found for selecting a comment language in the face of choice.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira