Keeping them separated is very much intentional. It actually isn't hard to
change the XSD to support intermixing, we have all sorts of stuff like that in
other places.
I really don't want to do it for the project though. Having the view-map
elements together is very nice to have a quick overview of a web site. Given
that these files often get pretty large, keeping them separated makes it much
easier to find things as well so that you don't have as much general stuff to
search through and you can just search through requests or views.
-David
Vinay Agarwal wrote:
Andrew,
I find that there a group of request-maps maps to a group of view-maps.
Since the controller.xml can be rather long, I would prefer to keep such
groups together. Ecommerce's controller.xml has 5-10 such groups. Of course,
xsd today gives an error for that.
Regards,
Vinay Agarwal
-----Original Message-----
From: Andrew Sykes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 28, 2006 9:01 AM
To: [email protected]
Subject: Re: site-conf.xsd: Allowing intermixed view-maps and request-map
Vinay,
This is really a personal preference thing I guess, my preference would be
to keep things the way they are, many requests can map to a single view, so
things might get rather confusing!
- Andrew
On Wed, 2006-06-28 at 08:48 -0700, Vinay Agarwal wrote:
Hello,
For readability, it may be desirable (at least my preference) to allow
view-maps and request-maps be intermixed, i.e., not require all the
request-maps to occur before view-maps. Is it worth doing? I tried
modifying xsd using "xs:choice" construct but couldn't make it work.
Anyone tried something like that?
Thanks in advance,
Vinay Agarwal
--
Kind Regards
Andrew Sykes <[EMAIL PROTECTED]> Sykes Development Ltd
http://www.sykesdevelopment.com