[ 
https://issues.apache.org/jira/browse/DAFFODIL-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olabusayo Kilo updated DAFFODIL-2934:
-------------------------------------
    Issue Type: Improvement  (was: Bug)

> Local Warning Suppression Issues
> --------------------------------
>
>                 Key: DAFFODIL-2934
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2934
>             Project: Daffodil
>          Issue Type: Improvement
>          Components: Back End
>    Affects Versions: 3.9.0
>            Reporter: Olabusayo Kilo
>            Priority: Major
>
> Here are some of the issues we've noted while trying to use 
> daf:suppressSchemaDefinitionWarnings
>  * It silently ignores the property on some global elements (these are 
> treated as Root type and are element references so don't actually have the 
> property on them, hence xml.attribute in 
> localSuppressSchemaDefinitionWarnings, fails to return the property). 
> Workaround is to wrap the element in a parent element which seems to fix 
> things. Possible Solution would be to add an isRoot check to 
> localSuppressSchemaDefinitionWarnings and use Root.referencedElement.xml 
> instead of SchemaComponent.xml and call attributes on that. Example: 
> hb_fromString in
>  * For the test, schema_warning_locally_suppressed, the property should be on 
> the annotation rather than the element "elem"



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to