[cduce-devel] Schema + namespaces

Alain.Frisch at ens.fr Alain.Frisch at ens.fr
Fri Nov 21 10:12:07 CET 2003


On Fri, 21 Nov 2003, Stefano Zacchiroli wrote:

> On Fri, Nov 21, 2003 at 09:39:26AM +0100, Alain.Frisch at ens.fr wrote:
> > For instance, I guess you're using helpers functions like
> > Types.rec_of_list that take strings instead of qnames to represent
> > attribute names. There is probably a similar issue with tag names.
>
> Yes, you're right. In both cases I use empty namespaces. I think that in
> order to fix things properly I need to add the namespace information to
> all schema components, because I need to know the namespace to use when
> creating tag names.
>
> Do you think this has major priority than validation?

Well, this will have to be done at some time, otherwise I guess that most
of XML Schema couldn't be used in CDuce. The order of operation is totally
up to you. But if you need to modify the internal data structure, it
might be a good idea to do it before implementing validation.

-- Alain




More information about the Cduce-devel mailing list