[DAS2] namespace description
Ed Erwin
ed_erwin at affymetrix.com
Wed Mar 16 18:58:27 UTC 2005
I agree. Allowing the mixing of free-text with XML-elements makes
parsing difficult.
Your suggestion is good. But you can also consider this, which might be
better if the description ever needs to be long:
<NAMESPACE id="volvox/1/type">
<DESCRIPTION>Feature types</DESCRIPTION>
<FORMAT id="das2xml" type="text/x-das-featuretype+xml" />
<FORMAT id="compact" type="text/x-das-featuretype+compact" />
</NAMESPACE>
Andrew Dalke wrote:
> The spec has an example which looks like
>
>
> <NAMESPACE id="volvox/1/type">Feature types
> <FORMAT id="das2xml" type="text/x-das-featuretype+xml" />
> <FORMAT id="compact" type="text/x-das-featuretype+compact" />
> </NAMESPACE>
>
> The description in the NAMESPACE is somewhat tricky to handle.
> I was able to get a schema description for it as mixed text, but it
> allows the following
>
> <NAMESPACE id="volvox/1/type">
> <FORMAT id="das2xml" type="text/x-das-featuretype+xml" />
> Feature
> <FORMAT id="compact" type="text/x-das-featuretype+compact" />
> types
> </NAMESPACE>
>
> I would rather see something like
>
> <NAMESPACE id="volvox/1/type" description="Feature types">
> <FORMAT id="das2xml" type="text/x-das-featuretype+xml" />
> <FORMAT id="compact" type="text/x-das-featuretype+compact" />
> </NAMESPACE>
>
>
> Andrew
> dalke at dalkescientific.com
>
> _______________________________________________
> DAS2 mailing list
> DAS2 at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/das2
>
More information about the DAS2
mailing list