users@jaxb.java.net

schema compilation and c-style comment

From: Vikas Bhargava <vikasbhargava_at_gmail.com>
Date: Thu, 2 Jul 2009 15:37:53 -0700

hi,
i have a schema which has a pattern defined in it (as regex). The java
class generated by XJC has the schema contents listed inside c-style
comment

/* ......
  ......
  ......
  */>
  .....
  .....
*/.

The pattern is causing the comment to end in between the schema
listing and consequently the compilation fails due to syntax errors.

Is there a way to turn off generation of comments in XJC, or ask the
compiler to generate only java style comments? It is not possible for
me to change the schema as it is being used in other projects too.

thx
Vikas.
=======