[kepler-dev] From <kar> to <kar:kar>
Matt Jones
jones at nceas.ucsb.edu
Wed Apr 14 16:10:21 PDT 2010
The namespace should include a version identifier so that we can
differentiate the schemas as the kar format evolves over time. So I suggest
the namespace be:
http://www.kepler-project.org/kar-2.0.0
(Let's reserve the 1.0.0 namespace for the old versions of kars that shipped
with Kepler 1.0.0).
Matt
On Wed, Apr 14, 2010 at 3:00 PM, Jing Tao <tao at nceas.ucsb.edu> wrote:
> hi, devs:
>
> I just got a task today - enable the kar xml validation during the remote
> component search.
>
> I palyed around and found that we should put namespace definition on kar
> xml instance in order to enable the validation.
>
> Currently, the kar xml generated by kepler looks like:
> <kar>
> <karFileName> </karFileName>
> <karFileSize> </karFileSize>
> <mainAttributes> </mainAttributes>
> <karEntry> </karEntry>
> </kar>
>
> I propose to change to:
>
> <kar:kar xmlns:kar="http://www.kepler-project.org/kar">
> <karFileName> </karFileName>
> <karFileSize> </karFileSize>
> <mainAttributes> </mainAttributes>
> <karEntry> </karEntry>
> </kar:kar>
>
> After making above change and twist some other java code, the component
> search with kar xml validation works.
>
> I am not sure if the change from <kar> to <kar:kar> will cause any other
> break in kepler. Just want to double check and let everyone know my change.
> If you do see any issue, please let me know.
>
> Thanks,
>
> Jing
>
>
>
> Jing Tao
> National Center for Ecological
> Analysis and Synthesis (NCEAS)
> 735 State St. Suite 204
> Santa Barbara, CA 93101
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20100414/08f68519/attachment-0001.html>
More information about the Kepler-dev
mailing list