>the generated xsd for Pivot Releases, will be put (by you, or Todd)
>also in a public directory of the web site, having wtkx files pointing
>to them, for example for on-line validation inside IDE ?

I imagine that we'll include them in future release artifacts.

>The current but old namespace if all wtk files is no more valid ...
>http://pivot-toolkit.org/wtkx/2008

We've updated our WTKX source to use this as a namespace:

http://incubator.apache.org/pivot/wtkx/1.1

>... but instead of an xsd per package, usually i've seen one xsd per
>class, like mapping db tables (1 class per table).

WTKX namespaces correspond to Java packages, so one XSD per class wouldn't 
work. I'm not completely sure of the correct syntax yet, but it should look 
something like this:

<FlowPane xmlns:wtkx="http://incubator.apache.org/pivot/wtkx/1.1";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="pivot.wtk pivot.wtk.xsd"
    xmlns="pivot.wtk">
    ....
</FlowPane>

Note the xsi:schemaLocation attribute, which maps the "pivot.wtk" namespace to 
the pivot.wtk.xsd schema file.


Reply via email to