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

Mike Beckerle commented on DAFFODIL-2190:
-----------------------------------------

Saying "xs:group (child 4 of the xs:sequence)" would improve this. We may want 
to issue two SDEs here, just so the file and line number of both offending 
components is part of the diagnostics, or find a way to include that 
information about both components that are inconsistent with each other. 

> Poor diagnostic - identifier of schema component having error uses "group[4]"
> -----------------------------------------------------------------------------
>
>                 Key: DAFFODIL-2190
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2190
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Diagnostics
>            Reporter: Mike Beckerle
>            Priority: Major
>              Labels: beginner
>
>  
> {code:java}
> [warning] Schema Definition Warning: Section_3 is an optional element or a 
> variable-occurrence array and its alignment (1) is not the same as group[4]'s 
> alignment (8).{code}
>  
> {color:#333333}In the schema associated with this message, there is only one 
> group definition, and the group reference referring to it is the 4th child of 
> the enclosing element, but it is a xs:sequence with 
> dfdl:hiddenGroupRef.{color}
> {color:#333333}Referring to this as "group[4]" is not helpful. Some sort of 
> schema component ID, or an XPath that identifies the component at issue 
> usefully is required. {color}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to