[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2360) Allow runtime properties in jboss-esb.xml file
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Thu Sep 11 07:53:52 EDT 2008
[ https://jira.jboss.org/jira/browse/JBIDE-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12429081#action_12429081 ]
Viacheslav Kabanovich commented on JBIDE-2360:
----------------------------------------------
Schema jbossesb-1.0.1.xsd declares <xsd:attribute name="port" type="xsd:int" use="required">,
so that validation in text editor will mark values like port="${jbr.port}" as incorrect (it is WTP functionality).
What is the use in declaring type="xsd:int" if actually xml attribute value may be something else?
Yes, it is trivial just to remove checking for integer value in input fields, but maybe it will be more
useful to improve validation in the input filed so that it accept integer and/or EL,
while discouraging other values?
> Allow runtime properties in jboss-esb.xml file
> ----------------------------------------------
>
> Key: JBIDE-2360
> URL: https://jira.jboss.org/jira/browse/JBIDE-2360
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: esb, XML Structured Editor
> Reporter: Magesh Kumar B
> Assignee: Viacheslav Kabanovich
> Priority: Trivial
> Fix For: 3.0.0.beta1
>
> Attachments: ValidationError.jpg
>
>
> When editing jboss-esb.xml files, if a a configuration contains a runtime property for an numeric attribute, validation errors are thrown. It would be nice to allow properties like this in numeric values of jboss-esb.xml files.
> <jbr-provider host="${jboss.bind.address}"
> name="dk.telenor.esb.sample.JBRChannel" protocol="http">
> <jbr-bus
> busid="dk.telenor.esb.sample.tdc.columbine.TestColumbineJBRBus" port="${jbr.port}"/>
> </jbr-provider>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list