OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

uiml-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [uiml-comment] Summary of issues raised by Takashi Endo and suggested UIML 4.0 changes


On Dec 10, 2007 10:09 AM, Jo Vermeulen <jo.vermeulen@uhasselt.be> wrote:

> On Dec 10, 2007 8:13 AM, <takashi.endou.zs@kyocera.jp> wrote:
>
> > Thank you Jo Vermeulen!
> >
> > Jo Vermeulen wrote:
> > >
> > > At first sight, I don't think that really matters since the style will
> > be
> > > inserted anyway (because we use "replace").
> > >
> >
> > I think it matters even if we use "replace". The miss is not in the
> > part to be removed, but it is in the part to be inserted. And
> > I'm afraid that no one will insert the style element.
>
>
> Oh I see, you are indeed correct. You mean in this snippet, the property
> is just placed directly inside the part instead of in an inline style
> section?
>
> <part>
>   <part id="$entry_id" class="Entry"/>
>   <part id="$button_id" class="Button">
>     <property name="label"><template-param id="button_label"/></property>
>   </part>
> </part>
>
> I will add the necessary <style> element.
>

Just to be clear, I will change it to:

<part>
  <part id="$entry_id" class="Entry"/>
  <part id="$button_id" class="Button">
    <style>
      <property name="label"><template-param id="button_label"/></property>
    </style>
  </part>
</part>

-- Jo


>
>
> > By the way I use XML Editor on Eclipse and it warns me that
> > 'The content of element type "part" must match "(style?,content?,
> > behavior?,layout?,variable*,part*,repeat*,template-parameters?)"'.
> >
> > XML Editor is included in Web Tools Platform (WTP).
> > You can try it (or other tool) to validate the uiml if you
> > put the following declaration.
> > <!DOCTYPE uiml SYSTEM "uiml4_0.DTD">
> >
> >
> > For your information, XML Editor on Eclipse works fine with
> > the following declaration,
> >
> > <!DOCTYPE uiml PUBLIC
> >  "-//Harmonia//DTD UIML 3.0 Draft//EN"
> >  " http://uiml.org/dtds/UIML3_0a.dtd";>
> >
> > or
> >
> > <uiml
> >  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >  xsi:noNamespaceSchemaLocation=" http://www.uiml.org/xsds/UIML3_0a.xsd";
> > >
> >
>
> Robbie, do you have any ideas on that?
>
> -- Jo
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]