Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » generated grammar
generated grammar [message #888635] Mon, 18 June 2012 12:07
frank fotso is currently offline frank fotsoFriend
Messages: 91
Registered: May 2012
Member
Hi,

i have generated a grammar from an XSD file but i have the following error and i don't understand the errors.

can somebody explain to me why i have those errors only with this xsd file and also how to correct it.

that is the following error:

  Description	Resource	Path	Location	Type
Chip cannot be resolved to a type	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 197	Java Problem
Duplicate field SBCTLE826xType.value	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 197	Java Problem
Duplicate field SBCTLE826xType.value	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 283	Java Problem
Invalid character constant	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 197	Java Problem
Name cannot be resolved to a type	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 195	Java Problem
Syntax error on token "(", ; expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 214	Java Problem
Syntax error on token "(", ; expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 248	Java Problem
Syntax error on token "(", ; expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 300	Java Problem
Syntax error on token "(", ; expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 334	Java Problem
Syntax error on token "(", ; expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 391	Java Problem
Syntax error on token "(", ; expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 448	Java Problem
Syntax error on token "(", ; expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 505	Java Problem
Syntax error on token "(", ; expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 562	Java Problem
Syntax error on token "(", ; expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 619	Java Problem
Syntax error on token "(", ; expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 676	Java Problem
Syntax error on token "(", ; expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 733	Java Problem
Syntax error on token "(", ; expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 790	Java Problem
Syntax error on token "(", ; expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 847	Java Problem
Syntax error on token ")", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 214	Java Problem
Syntax error on token ")", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 248	Java Problem
Syntax error on token ")", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 300	Java Problem
Syntax error on token ")", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 334	Java Problem
Syntax error on token ")", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 391	Java Problem
Syntax error on token ")", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 448	Java Problem
Syntax error on token ")", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 505	Java Problem
Syntax error on token ")", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 562	Java Problem
Syntax error on token ")", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 619	Java Problem
Syntax error on token ")", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 676	Java Problem
Syntax error on token ")", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 733	Java Problem
Syntax error on token ")", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 790	Java Problem
Syntax error on token ")", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 847	Java Problem
Syntax error on token "*", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 198	Java Problem
Syntax error on token "*", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 284	Java Problem
Syntax error on token "/", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 197	Java Problem
Syntax error on token "<", throw expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 196	Java Problem
Syntax error on token "<", throw expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 282	Java Problem
Syntax error on token "boolean", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 271	Java Problem
Syntax error on token "boolean", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 357	Java Problem
Syntax error on token "boolean", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 414	Java Problem
Syntax error on token "boolean", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 471	Java Problem
Syntax error on token "boolean", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 528	Java Problem
Syntax error on token "boolean", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 585	Java Problem
Syntax error on token "boolean", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 642	Java Problem
Syntax error on token "boolean", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 699	Java Problem
Syntax error on token "boolean", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 756	Java Problem
Syntax error on token "boolean", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 813	Java Problem
Syntax error on token "boolean", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 870	Java Problem
Syntax error on token "Invalid Character", ( expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 198	Java Problem
Syntax error on token "Invalid Character", ( expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 284	Java Problem
Syntax error on token "return", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 197	Java Problem
Syntax error on token "return", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 283	Java Problem
Syntax error on token "Select", ; expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 197	Java Problem
Syntax error on token "the", ; expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 283	Java Problem
Syntax error on token "the", = expected	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 197	Java Problem
Syntax error on token "void", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 259	Java Problem
Syntax error on token "void", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 345	Java Problem
Syntax error on token "void", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 402	Java Problem
Syntax error on token "void", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 459	Java Problem
Syntax error on token "void", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 516	Java Problem
Syntax error on token "void", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 573	Java Problem
Syntax error on token "void", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 630	Java Problem
Syntax error on token "void", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 687	Java Problem
Syntax error on token "void", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 744	Java Problem
Syntax error on token "void", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 801	Java Problem
Syntax error on token "void", delete this token	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 858	Java Problem
Syntax error on token(s), misplaced construct(s)	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 195	Java Problem
Syntax error on token(s), misplaced construct(s)	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 196	Java Problem
Syntax error on token(s), misplaced construct(s)	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 197	Java Problem
Syntax error on token(s), misplaced construct(s)	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 281	Java Problem
Syntax error on token(s), misplaced construct(s)	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 282	Java Problem
Syntax error on tokens, delete these tokens	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 1	Java Problem
Syntax error on tokens, delete these tokens	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 197	Java Problem
Syntax error, insert ";" to complete Statement	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 204	Java Problem
Syntax error, insert ";" to complete Statement	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 235	Java Problem
Syntax error, insert ";" to complete Statement	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 290	Java Problem
Syntax error, insert ";" to complete Statement	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 321	Java Problem
Syntax error, insert ";" to complete Statement	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 378	Java Problem
Syntax error, insert ";" to complete Statement	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 435	Java Problem
Syntax error, insert ";" to complete Statement	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 492	Java Problem
Syntax error, insert ";" to complete Statement	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 549	Java Problem
Syntax error, insert ";" to complete Statement	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 606	Java Problem
Syntax error, insert ";" to complete Statement	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 663	Java Problem
Syntax error, insert ";" to complete Statement	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 720	Java Problem
Syntax error, insert ";" to complete Statement	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 777	Java Problem
Syntax error, insert ";" to complete Statement	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 834	Java Problem
Syntax error, insert "AssignmentOperator Expression" to complete Assignment	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 204	Java Problem
Syntax error, insert "AssignmentOperator Expression" to complete Assignment	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 235	Java Problem
Syntax error, insert "AssignmentOperator Expression" to complete Assignment	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 290	Java Problem
Syntax error, insert "AssignmentOperator Expression" to complete Assignment	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 321	Java Problem
Syntax error, insert "AssignmentOperator Expression" to complete Assignment	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 378	Java Problem
Syntax error, insert "AssignmentOperator Expression" to complete Assignment	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 435	Java Problem
Syntax error, insert "AssignmentOperator Expression" to complete Assignment	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 492	Java Problem
Syntax error, insert "AssignmentOperator Expression" to complete Assignment	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 549	Java Problem
Syntax error, insert "AssignmentOperator Expression" to complete Assignment	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 606	Java Problem
Syntax error, insert "AssignmentOperator Expression" to complete Assignment	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 663	Java Problem
Syntax error, insert "AssignmentOperator Expression" to complete Assignment	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 720	Java Problem
Syntax error, insert "AssignmentOperator Expression" to complete Assignment	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 777	Java Problem
Syntax error, insert "AssignmentOperator Expression" to complete Assignment	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 834	Java Problem
Syntax error, insert "AssignmentOperator Expression" to complete Assignment	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 890	Java Problem
the cannot be resolved to a type	SBCTLE826xType.java	/ProjectSystem1/src/SystemSparcClockMcu	line 197	Java Problem
  

i'm using eclipse-SDK-3.7.1 and Xtext-2.2.1-win32
best regard
frank
Previous Topic:Java heap space
Next Topic:Serializing a model with references to dynamically created objects
Goto Forum:
  


Current Time: Thu Dec 18 05:51:22 GMT 2014

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

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