pirk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIRK-16) Define XML schema definition files for Pirk's data and query schemas
Date Thu, 21 Jul 2016 12:12:20 GMT

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

ASF GitHub Bot commented on PIRK-16:
------------------------------------

Github user tellison commented on the issue:

    https://github.com/apache/incubator-pirk/pull/17
  
    Each element must occur once (i.e. minOccurs="1" maxOccurs="1") unless stated differently,
so we just need to add a minOccurs="0" to isArray to make it optional, defaulting to true,
so we can write <isArray/>.
    
    I'll update this PR.
    
    [It is also possible to define the set of allowed values for the <type> element,
but since that may contain a class name as well as the primitive types, we can't usefully
define it any better in the xsd.]


> Define XML schema definition files for Pirk's data and query schemas
> --------------------------------------------------------------------
>
>                 Key: PIRK-16
>                 URL: https://issues.apache.org/jira/browse/PIRK-16
>             Project: PIRK
>          Issue Type: Improvement
>            Reporter: Tim Ellison
>            Assignee: Tim Ellison
>
> Pirk uses XML files to specify a data schema for the target data, and a query schema
for the query type.
> This improvement provides the XML schema definition (XSD) for these files, allowing parsers
to check the validity of the Pirk schemas.
> These XSDs should probably be available locally (in the deployment JAR) and remotely
(on the Pirk website).



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

Mime
View raw message