Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 350320

Summary: [documentation] Creating Custom Validation Rules tutorial page
Product: [Modeling] TMF Reporter: Trevor <endante>
Component: WebsiteAssignee: Dennis Huebner <dennis.huebner>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sven.efftinge
Version: unspecifiedFlags: sven.efftinge: indigo+
Target Milestone: SR1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Trevor CLA 2011-06-24 14:59:04 EDT
Build Identifier: 20110615-0604

Hello,

The wonderful tutorial, "15 Minutes Tutorial - Extended" has a typo in the second code block on the "Creating Custom Validation Rules" page. It shows the line as
"error("Feature names have to be unique", MyDslPackage.Literals.FEATURE__NAME);"

but it should say
"error("Feature names have to be unique", DomainmodelPackage.Literals.FEATURE__NAME);" 

Link: www.eclipse.org/Xtext/documentation/2_0_0/050-validation.php

Thanks,
Trevor

Reproducible: Always

Steps to Reproduce:
1. Follow Link
2. Read text
Comment 1 Sven Efftinge CLA 2011-06-27 02:59:06 EDT
thx
Comment 2 Karsten Thoms CLA 2017-09-19 17:38:08 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:49:20 EDT
Closing all bugs that were set to RESOLVED before Neon.0