[jboss-dev-forums] [IronJacamar Development] - Re: Parsing and validation
Jesper Pedersen
do-not-reply at jboss.com
Wed Dec 1 08:46:23 EST 2010
Jesper Pedersen [http://community.jboss.org/people/jesper.pedersen] created the discussion
"Re: Parsing and validation"
To view the discussion, visit: http://community.jboss.org/message/573862#573862
--------------------------------------------------------------
Yes, this is a top priority.
We used to have a method that would validate the metadata model after the merge and throw an exception if the constraints defined by the XSD wasn't correct.
The datasource part is easier since there is only one place where the information can come from (XML), so the parser can be a lot more strict there.
As to updates from the management layer - the management facade must verify that the update is correct before sending the value to the instance. However, we can only do basic tests here, but that should be enough.
Implementation: If a builder pattern can help, go for it. The current requirements for the metadata model can't be changed though.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/573862#573862]
Start a new discussion in IronJacamar Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2099]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101201/d7214fa7/attachment.html
More information about the jboss-dev-forums
mailing list