[
https://issues.apache.org/jira/browse/VELOCITY-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henning Schmiedehausen closed VELOCITY-104.
-------------------------------------------
> hyphens in xsd element names produce uncompilable code
> ------------------------------------------------------
>
> Key: VELOCITY-104
> URL: https://issues.apache.org/jira/browse/VELOCITY-104
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.3-rc1
> Environment: Operating System: Linux
> Platform: All
> Reporter: Robert Rose
>
> I'm not all that familiar (yet) with Velocity, so I apologize if this is not
> the right forum to post this problem. This may be a bug in Velocity or
> simple
> my misunderstanding of how to use Velocity.
> I have been using Velocity successfully for some time now to produce parsers
> for XSD's of my own, but now I have been handed an XSD that contains hyphens
> in
> the element names and the code that is produced will not compile in Java
> because hyphens are illegal in class names and function names.
> Is this a bug in Velocity? Should it automatically replace '-' with '_' when
> parsing elements and translating them when used in Velocity templates? Can
> an
> option be added to Velocity that would allow for this?
--
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]