[Zope3-dev] schema initial documentation
Jim Fulton
jim@zope.com
Mon, 22 Apr 2002 17:32:39 -0400
faassen@vet.uu.nl wrote:
>
...
> > IOW I would like to have it declared in XML in place of Python. It would be
> > really easy to generate the Python text from XML if needed and would allow
> > to check (at least partly) the semantics expressed through the writing of
> > DTD or XML schema.
>
> I think making this declarable in Python as a Zope style interface is
> right now the best way to go. This does not mean however we cannot map
> this to a XML representation, as an XML representation has definite advantages
> as well.
I agree. One might even provide a utility for "importing" an interface
from an XML file, rather than a .py file.
Jim
--
Jim Fulton mailto:jim@zope.com Python Powered!
CTO (888) 344-4332 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org