[
https://issues.apache.org/jira/browse/AXIS2-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Luckcuck updated AXIS2-3534:
-------------------------------------
Summary: Schema restrictions result in a no-args RuntimeException being
thrown. (was: SchemaPropertyLoader fails to load org.apache.adb.properties
file)
> Schema restrictions result in a no-args RuntimeException being thrown.
> ----------------------------------------------------------------------
>
> Key: AXIS2-3534
> URL: https://issues.apache.org/jira/browse/AXIS2-3534
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.3
> Environment: Windows XP, Java 1.5.09
> Reporter: Jonathan Luckcuck
> Priority: Minor
> Fix For: 1.3
>
>
> The default ModifiedADBBeanTemplate.xsl throws a no args RuntimeException for
> all restrictions found in the given schema. It would be useful if the
> RuntimeException could include some sort of message such as
> throw new java.lang.RuntimeException("Failed schema validation for property
> [<xsl:value-of select="$javaName"/>] and value [" + param + "]");
> This would enable client code to parse the eception to fiure out there was a
> schema validation error.
> Alternately, it would also be really usefull to be able to turn the client
> stub validation off completely.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]