Please see my reply. 
  
Von:
antoine.toulme@xxxxxxxxx [mailto:antoine.toulme@xxxxxxxxx] Im Auftrag von Antoine
Toulme 
Gesendet: Freitag, 16. Juli 2010 09:43 
An: Hille-Doering, Reiner 
Cc: BPMN2 Developers Mailing List 
Betreff: Re: [mdt-bpmn2.dev] BPMN2 file encoding 
 
  
I filed a bug over my experience with creating models
programmatically: 
Note that I create models by
instantiating our Resource implementation directly as they don't run in OSGi
just yet. 
On Fri, Jul 16, 2010 at 00:22, Antoine Toulme <antoine@xxxxxxxxxxxxxxx> wrote: 
I am creating models programmatically, so I might be missing
something. If we define a content type, we should be able to set the default
encoding. 
I also have seen some weird things when creating models
programmatically, it looks like the wrong local name is used and the type of
the object is passed in a xsi attribute. I'll open a bug with a test case. 
 
  
On Fri, Jul 16, 2010 at 00:20, Hille-Doering, Reiner <reiner.hille-doering@xxxxxxx>
wrote: 
Absolutely. I assume that you
talk about the fact that I removed the second page of the “New BPMN 2” Wizard.
In this page the user can choose the root element and the encoding of the new
file. I have set the root element fixed to DocumentRoot, containing a
Defintions. I also assumed that encoding will default to UTF-8, which is
obviously not the case. I will fix it. 
  
  
Just a side note, I'm seeing the encoding of the
resources we create is ASCII by default. 
I suggest we move it to UTF-8 to avoid issues with
characters. Does that seem reasonable ? 
 
 
 
 
 
 
  
 
 
 
 
  
 
 
 |