[jboss-jira] [JBoss JIRA] (WFLY-3940) Parsers should print expected elements in case of error

Tomaz Cerar (JIRA) issues at jboss.org
Tue Oct 7 08:34:12 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-3940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009261#comment-13009261 ] 

Tomaz Cerar commented on WFLY-3940:
-----------------------------------

Why don't go with PersistentResourceDefinition & PersistentResourceXMLDescription for defining your parser?
It was done just so we can minimize problems like this. See IO, Mail and undertow subsystems for examples on how to use it.

If you are doing parser by hand then only way to report problems is by adding code to do reporting to your parser.


> Parsers should print expected elements in case of error
> -------------------------------------------------------
>
>                 Key: WFLY-3940
>                 URL: https://issues.jboss.org/browse/WFLY-3940
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: Domain Management
>            Reporter: Heiko Rupp
>            Assignee: Tomaz Cerar
>
> While developing an extension I get "JBAS014789: Unexpected element  "bla" encountered"  
> At this point it would be sooooooo helpful if #WildFly would tell me what it did expect here to help me modifying my code.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list