Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [bpel-dev] "Format" in editor

Go for it! Very useful idea!

In general, one thing that struck me the other day is: When I model
something graphically, and then swithc to the source tab, the XML of
whatever I inserted is just one big huge line of text. I have to manually
run format() to make this readable.
I believe that the WSDL/XSD editors source vies is a little smarter in that
area. I see two possible solutions:

a.) Every time we save, we do a "auto-format"
b.) We find a way to magically insert indentations/line feeds etc. right
when updating the DOM tree.
Opinions?

Cheers
Simon

Simon Moser, M.Eng.


                                                                         
 Websphere Integration  Mail:        IBM Deutschland          (Embedded  
 Developer Development  smoser@de.i  Entwicklung GmbH         image      
 Team Lead BPEL Editor  bm.com       Vorsitzender des         moved to   
 Dept. 4722, Bldg.      Phone:       Aufsichtsrats: Martin    file:      
 71032-01, Room 086     +49-7031-16  Jetter                   pic16162.g 
 Websphere Solutions    -4304        Geschäftsführung:        if)I'm     
 and Services           Fax:         Herbert Kircher          speaking   
 IBM Deutschland        +49-7031-16  Sitz der Gesellschaft:   at         
 Entwicklung GmbH       -4890        Böblingen                EclipseCon 
 Schönaicherstr. 220,                Registergericht:         2008       
 D – 71032 Boeblingen                Amtsgericht Stuttgart,              
                                     HRB 243294                          
                                                                         









|------------>
| From:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"Danilov, Oleg V" <oleg.v.danilov@xxxxxxxxx>                                                                                                      |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"BPEL Designer project developer discussions." <bpel-dev@xxxxxxxxxxx>                                                                             |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |25.03.2008 16:49                                                                                                                                  |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[bpel-dev] "Format" in editor                                                                                                                     |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|






Hi all,



When editing the bpel, a user can right click to pretty-print the bpel
source code. If the bpel source code contains a <literal> it will be
formatted as well. AFAIK it can cause problems because the spaces are
significant inside literal. We can avoid this inserting
xml:space=”preserve” in ElementFactory.createLiteral(). Any objections?



Thanks,

  Oleg.

--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park,
17 Krylatskaya Str., Bldg 4, Moscow 121614,
Russian Federation

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


_______________________________________________
bpel-dev mailing list
bpel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/bpel-dev

Attachment: pic16162.gif
Description: GIF image


Back to the top