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

Bug 346999

Summary: The canonical literal provided by XSDSimpleTypeDefinition.Assessment isn't actually canonical.
Product: [Modeling] EMF Reporter: Chris Simmons <cps>
Component: XSDAssignee: Ed Merks <Ed.Merks>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Test case showing canonical literals not being generated. none

Description Chris Simmons CLA 2011-05-24 11:17:25 EDT
Build Identifier: M20100909-0800

I'm using XSD 2.6.0.  There's a method to get the canonical literal when you perform an assessment but it doesn't appear to be implemented.

There seems to be some related incomplete/unused code.  The method XSDAnySimpleType.getCanonicalLiteral(Object) isn't overridden or called anywhere.

Reproducible: Always

Steps to Reproduce:
1. Run test I'll attach shortly.
Comment 1 Chris Simmons CLA 2011-05-24 11:19:11 EDT
Created attachment 196447 [details]
Test case showing canonical literals not being generated.