users@jaxb.java.net

Re: JAXB Can't Compile DSMLv2 Schema

From: <dev_at_samizdatdigital.org>
Date: Tue, 24 Aug 2004 08:16:01 -0700

that seems to make sense, as "-" is not a character class, and to
include it as a character in a character class, you have to escape it,
ie [\-] (the error message says asmuch, i believe):

        [ERROR] Simple type error: specified pattern is invalid: '-' is an
invalid character range. Write '\-'.
   line 115 of dsmlv2.xsd

i don't know about all the other errors you're getting, but if i change
that line and run xjc, i don't get the regex error (i'm using 1.4 on a
mac, jvm 1.4.2).

jon

On Aug 23, 2004, at 8:08 PM, Marc Boorshtein wrote:

> <dsmlv2.xsd>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net