Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346999 - The canonical literal provided by XSDSimpleTypeDefinition.Assessment isn't actually canonical.
Summary: The canonical literal provided by XSDSimpleTypeDefinition.Assessment isn't ac...
Status: NEW
Alias: None
Product: EMF
Classification: Modeling
Component: XSD (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 11:17 EDT by Chris Simmons CLA
Modified: 2023-01-12 11:49 EST (History)
0 users

See Also:


Attachments
Test case showing canonical literals not being generated. (1.04 KB, text/x-java)
2011-05-24 11:19 EDT, Chris Simmons CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.