Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » XSDPrototypicalSchema and classpath
XSDPrototypicalSchema and classpath [message #564703] Thu, 23 January 2003 21:11
Andy Yang is currently offline Andy YangFriend
Messages: 42
Registered: July 2009
Member
Hi All,

I'm trying to run the sample code that came with the article "Analyze
Schemas with the XML Schema Infoset Model" by Shane Curcuru.

I've downloaded the xsd and emf distributions from eclipse.org and set
them up as external jar files from WSAD 5. I've put the following jars
in my build path:

org.eclipse.emf.common_1.0.1\runtime\common.jar
org.eclipse.emf.ecore_1.0.1\runtime\ecore.jar
org.eclipse.xsd_1.0.1\runtime\xsd.jar

but I'm getting the following compile error:

The method getString(java.lang.String) from the type
org.eclipse.emf.common.EMFPlugin is not static

on the following statement:

XSDPlugin.getString
("_UI_DiagnosticFileLineColumn_message",
new Object []
{
localizedSeverity,
xsdDiagnostic./*{@link XSDDiagnostic#getLocationURI
*/getLocationURI/*}*/(),
new Integer(xsdDiagnostic./*{@link
XSDDiagnostic#getLine */getLine/*}*/()),
new Integer(xsdDiagnostic./*{@link
XSDDiagnostic#getColumn */getColumn/*}*/())
}));

in XSDPrototypicalSchema.java

Should I be using an earlier release of emf?

Thanks,
Andy
Previous Topic:XSDWildcard.getNamespaceConstraint
Next Topic:Problem Including schemas
Goto Forum:
  


Current Time: Sun Dec 21 13:37:25 GMT 2014

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

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