Ok,

because once you've written 1.4 and then 1.3. Please exchange 1.4 with 1.3
in all places in the stylesheet and then I hope... Remember also than the
namespace prefix is not ignificant. What counts is the URI.

Regards,

AnD
----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 8:35 PM
Subject: RE: [Andromda-user] Re: AndroMDA support for TogetherJ (Version
6.2)


No, didn't work. Once again, to make things clear:

The output generated by Together reads something like this:

<?xml version = '1.0' encoding = 'ASCII' ?>
<XMI xmi.version = '1.1' xmlns:UML = '//org.omg/UML/1.3'>
 <XMI.header>
  <XMI.documentation>
   <XMI.exporter>
    TogetherSoft
   </XMI.exporter>
   <XMI.exporterVersion>
    6.0
   </XMI.exporterVersion>
  </XMI.documentation>
  <XMI.metamodel xmi.name = 'UML' xmi.version = '1.4'/>
 </XMI.header>
 <XMI.content>
  <UML:Model xmi.id = 'S.1' name = 'Project' visibility = 'public'>
   <UML:Namespace.ownedElement>

... and so on...

The correct syntax looks like this:

<?xml version = '1.0' encoding = 'ASCII' ?>
<XMI xmi.version = '1.1' xmlns:UML = 'org.omg/UML/1.3'>
 <XMI.header>
  <XMI.documentation>
   <XMI.exporter>
    TogetherSoft
   </XMI.exporter>
   <XMI.exporterVersion>
    6.0
   </XMI.exporterVersion>
  </XMI.documentation>
  <XMI.metamodel xmi.name = 'UML' xmi.version = '1.4'/>
 </XMI.header>
 <XMI.content>
  <UML:Model xmi.id = 'S.1' name = 'Project' visibility = 'public'>
   <UML:Namespace.ownedElement>

Please note that the only line changed is the one starting with <XMI
xmi.version... The reason why I included the rest was to show that it is ok
to use the "UML:" prefix for the elements.

So, are there any XSL gurus on the list who can help us here?

- Peter



>-----Original Message-----
>From: Andrzej Dmoch [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, September 15, 2004 8:09 PM
>To: FRIESE, PETER
>Cc: [EMAIL PROTECTED]
>Subject: Re: [Andromda-user] Re: AndroMDA support for
>TogetherJ (Version
>6.2)
>
>
>Hi Peter,
>
>please try if this one works (didn't test it).
>
>AnD
>----- Original Message ----- 
>From: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Wednesday, September 15, 2004 8:52 AM
>Subject: RE: [Andromda-user] Re: AndroMDA support for
>TogetherJ (Version
>6.2)
>
>
>One thing that I coldn't figure out how to do it automatically
>is how to
>change the XML namespace identifier in Together's XMI output.
>The write <XMI
>xmi.version = '1.1' xmlns:UML = '//org.omg/UML/1.4'> which is plain
>bullsh***, since you have to write <XMI xmi.version = '1.1' xmlns:UML =
>'org.omg/UML/1.4'>. The XSL file contains a transformation that should
>perform this change, but it does not work for me. So, you'll
>have to change
>this manually or use some other piece of software to change this
>automatically. If someone comes up with a solution for this
>problem, please
>speak up!
>
>Hopefully, we'll see a better XMI support in Together quite
>soon. I'll keep
>you posted.
>
>
>







-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to