Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 #584056] Wed, 10 March 2004 09:04
Hayden Marchant is currently offline Hayden MarchantFriend
Messages: 90
Registered: July 2009
Member
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 Including schemas
Next Topic:Problem with XSD 2.0.0 with Regex Patterns
Goto Forum:
  


Current Time: Fri Apr 19 12:57:06 GMT 2024

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

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

Back to the top