Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Unicode character in a xmi ID
Unicode character in a xmi ID [message #422141] Fri, 22 August 2008 13:10 Go to next message
Mariot Chauvin is currently offline Mariot ChauvinFriend
Messages: 174
Registered: July 2009
Senior Member
Hi,

We have a customer which reported a problem to us about a model with which he works.
One day he was no more able to open its model, due to an an invalid XML character in the value of an "xmi:id" attribute. (the file XML version was 1.0).

* the problematic xmi ID was: "_0rdHOF4۽^@d2xVYkVlZA7lg"
* the problematic unicode character was : 06FD (see http://www.fileformat.info/info/unicode/char/06fd/index.htm)

Modifying the id solved the problem, but does someone have any idea how is it possible that an unicode character was used in a xmi id ?

Thanks.
Regards,

Mariot
Re: Unicode character in a xmi ID [message #422144 is a reply to message #422141] Fri, 22 August 2008 13:24 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Mariot,

Comments below.

Mariot Chauvin wrote:
> Hi,
>
> We have a customer
I wish I had customers. :-P
> which reported a problem to us about a model with which he works.
> One day he was no more able to open its model, due to an an invalid
> XML character in the value of an "xmi:id" attribute. (the file XML
> version was 1.0).
>
> * the problematic xmi ID was: "_0rdHOF4۽^@d2xVYkVlZA7lg"
Hehehe. It's like you're swearing at me. :-P
> * the problematic unicode character was : 06FD (see
> http://www.fileformat.info/info/unicode/char/06fd/index.htm)
>
> Modifying the id solved the problem, but does someone have any idea
> how is it possible that an unicode character was used in a xmi id ?
A cosmic ray hitting the hard drive? Generally I'd expect folks use
EcoreUtil.generateUUID which I don't think could ever produce such a
strange result.
>
> Thanks.
> Regards,
>
> Mariot


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Generics for multiplicity-many references
Next Topic:EMF Enum Regression
Goto Forum:
  


Current Time: Fri Apr 26 12:13:28 GMT 2024

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

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

Back to the top