Skip to main content



      Home
Home » Archived » XML Schema Definition (XSD) » Problem with XSD 2.0.0 with Regex Patterns
Problem with XSD 2.0.0 with Regex Patterns [message #38539] Wed, 10 March 2004 04:04 Go to next message
Eclipse UserFriend
I just downloaded the Latest Stable build for XSD 2.0.0 with the Eclipse
3.0M6, and parsing of my xsd fails in the case where there is a regex
pattern restriction. This did not happen in Eclipse 1.1.1. I get the
following exception:

java.lang.RuntimeException: Installation Problem??? Couldn't load
messages: Can't find bundle for base name
org.eclipse.xsd.impl.type.message, locale en_US
at org.eclipse.xsd.impl.type.RegEx$RegexParser.setLocale(RegEx. java:2123)
at org.eclipse.xsd.impl.type.RegEx$RegexParser.<init>(RegEx.java:2113)
at
org.eclipse.xsd.impl.type.RegEx$ParserForXMLSchema.<init>(RegEx.java:724)
at
org.eclipse.xsd.impl.type.RegEx$RegularExpression.setPattern (RegEx.java:6243)
at
org.eclipse.xsd.impl.type.RegEx$RegularExpression.setPattern (RegEx.java:6255)
at
org.eclipse.xsd.impl.type.RegEx$RegularExpression.<init>(RegEx.java:6221)
at
org.eclipse.xsd.impl.XSDPatternFacetImpl.getPatterns(XSDPatt ernFacetImpl.java:339)
at
org.eclipse.xsd.impl.XSDPatternFacetImpl.validateValue(XSDPa tternFacetImpl.java:356)
at org.eclipse.xsd.impl.XSDFacetImpl.validate(XSDFacetImpl.java :156)
at
org.eclipse.xsd.impl.XSDConstrainingFacetImpl.validate(XSDCo nstrainingFacetImpl.java:249)
at
org.eclipse.xsd.impl.XSDRepeatableFacetImpl.validate(XSDRepe atableFacetImpl.java:283)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.validate(XSDCo ncreteComponentImpl.java:544)
at
org.eclipse.xsd.impl.XSDSimpleTypeDefinitionImpl.validate(XS DSimpleTypeDefinitionImpl.java:1049)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.validate(XSDCo ncreteComponentImpl.java:544)
at org.eclipse.xsd.impl.XSDSchemaImpl.validate(XSDSchemaImpl.ja va:1512)


I've looked everywhere for this resource bundle in the eclipse jars etc..
but could not find it. Where should I be looking? By the way, I am running
the Eclipse XSD parser in standalone mode and have the following jars in
my classpath:

xsd.jar
xsd.resources.jar
ecore.jar
common.jar
runtime.jar
resources.jar


Thanks,
Hayden Marchant
Re: Problem with XSD 2.0.0 with Regex Patterns [message #38572 is a reply to message #38539] Wed, 10 March 2004 04:37 Go to previous message
Eclipse UserFriend
Please take this back - this problem existed in the Feb 25th stable build,
but was fixed in the March 9th build - the message.properties is now
present.

Thanks,

Hayden Marchant wrote:

> I just downloaded the Latest Stable build for XSD 2.0.0 with the Eclipse
> 3.0M6, and parsing of my xsd fails in the case where there is a regex
> pattern restriction. This did not happen in Eclipse 1.1.1. I get the
> following exception:

> java.lang.RuntimeException: Installation Problem??? Couldn't load
> messages: Can't find bundle for base name
> org.eclipse.xsd.impl.type.message, locale en_US
> at org.eclipse.xsd.impl.type.RegEx$RegexParser.setLocale(RegEx. java:2123)
> at org.eclipse.xsd.impl.type.RegEx$RegexParser.<init>(RegEx.java:2113)
> at
> org.eclipse.xsd.impl.type.RegEx$ParserForXMLSchema.<init>(RegEx.java:724)
> at
> org.eclipse.xsd.impl.type.RegEx$RegularExpression.setPattern (RegEx.java:6243)
> at
> org.eclipse.xsd.impl.type.RegEx$RegularExpression.setPattern (RegEx.java:6255)
> at
> org.eclipse.xsd.impl.type.RegEx$RegularExpression.<init>(RegEx.java:6221)
> at
>
org.eclipse.xsd.impl.XSDPatternFacetImpl.getPatterns(XSDPatt ernFacetImpl.java:339)
> at
>
org.eclipse.xsd.impl.XSDPatternFacetImpl.validateValue(XSDPa tternFacetImpl.java:356)
> at org.eclipse.xsd.impl.XSDFacetImpl.validate(XSDFacetImpl.java :156)
> at
>
org.eclipse.xsd.impl.XSDConstrainingFacetImpl.validate(XSDCo nstrainingFacetImpl.java:249)
> at
>
org.eclipse.xsd.impl.XSDRepeatableFacetImpl.validate(XSDRepe atableFacetImpl.java:283)
> at
>
org.eclipse.xsd.impl.XSDConcreteComponentImpl.validate(XSDCo ncreteComponentImpl.java:544)
> at
>
org.eclipse.xsd.impl.XSDSimpleTypeDefinitionImpl.validate(XS DSimpleTypeDefinitionImpl.java:1049)
> at
>
org.eclipse.xsd.impl.XSDConcreteComponentImpl.validate(XSDCo ncreteComponentImpl.java:544)
> at org.eclipse.xsd.impl.XSDSchemaImpl.validate(XSDSchemaImpl.ja va:1512)


> I've looked everywhere for this resource bundle in the eclipse jars etc..
> but could not find it. Where should I be looking? By the way, I am running
> the Eclipse XSD parser in standalone mode and have the following jars in
> my classpath:

> xsd.jar
> xsd.resources.jar
> ecore.jar
> common.jar
> runtime.jar
> resources.jar


> Thanks,
> Hayden Marchant
Re: Problem with XSD 2.0.0 with Regex Patterns [message #584069 is a reply to message #38539] Wed, 10 March 2004 04:37 Go to previous message
Eclipse UserFriend
Please take this back - this problem existed in the Feb 25th stable build,
but was fixed in the March 9th build - the message.properties is now
present.

Thanks,

Hayden Marchant wrote:

> I just downloaded the Latest Stable build for XSD 2.0.0 with the Eclipse
> 3.0M6, and parsing of my xsd fails in the case where there is a regex
> pattern restriction. This did not happen in Eclipse 1.1.1. I get the
> following exception:

> java.lang.RuntimeException: Installation Problem??? Couldn't load
> messages: Can't find bundle for base name
> org.eclipse.xsd.impl.type.message, locale en_US
> at org.eclipse.xsd.impl.type.RegEx$RegexParser.setLocale(RegEx. java:2123)
> at org.eclipse.xsd.impl.type.RegEx$RegexParser.<init>(RegEx.java:2113)
> at
> org.eclipse.xsd.impl.type.RegEx$ParserForXMLSchema.<init>(RegEx.java:724)
> at
> org.eclipse.xsd.impl.type.RegEx$RegularExpression.setPattern (RegEx.java:6243)
> at
> org.eclipse.xsd.impl.type.RegEx$RegularExpression.setPattern (RegEx.java:6255)
> at
> org.eclipse.xsd.impl.type.RegEx$RegularExpression.<init>(RegEx.java:6221)
> at
>
org.eclipse.xsd.impl.XSDPatternFacetImpl.getPatterns(XSDPatt ernFacetImpl.java:339)
> at
>
org.eclipse.xsd.impl.XSDPatternFacetImpl.validateValue(XSDPa tternFacetImpl.java:356)
> at org.eclipse.xsd.impl.XSDFacetImpl.validate(XSDFacetImpl.java :156)
> at
>
org.eclipse.xsd.impl.XSDConstrainingFacetImpl.validate(XSDCo nstrainingFacetImpl.java:249)
> at
>
org.eclipse.xsd.impl.XSDRepeatableFacetImpl.validate(XSDRepe atableFacetImpl.java:283)
> at
>
org.eclipse.xsd.impl.XSDConcreteComponentImpl.validate(XSDCo ncreteComponentImpl.java:544)
> at
>
org.eclipse.xsd.impl.XSDSimpleTypeDefinitionImpl.validate(XS DSimpleTypeDefinitionImpl.java:1049)
> at
>
org.eclipse.xsd.impl.XSDConcreteComponentImpl.validate(XSDCo ncreteComponentImpl.java:544)
> at org.eclipse.xsd.impl.XSDSchemaImpl.validate(XSDSchemaImpl.ja va:1512)


> I've looked everywhere for this resource bundle in the eclipse jars etc..
> but could not find it. Where should I be looking? By the way, I am running
> the Eclipse XSD parser in standalone mode and have the following jars in
> my classpath:

> xsd.jar
> xsd.resources.jar
> ecore.jar
> common.jar
> runtime.jar
> resources.jar


> Thanks,
> Hayden Marchant
Previous Topic:Problem with XSD 2.0.0 with Regex Patterns
Next Topic:Maximum content for <all> ??
Goto Forum:
  


Current Time: Sun May 25 05:48:02 EDT 2025

Powered by FUDForum. Page generated in 0.03919 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top