On Jan 9, 2006, at 4:01 PM, P T Withington wrote:
Two comments/questions:
Why do I want to declare a dataset in a node?
The short answer is that I'd like to be able to build data
controllers that encapsulate their own data. For example, in my
informal proposal for explicit replication, the dataset/datapath is
lexically scoped within a replicator (a subclass of node, not view).
This will have doc impact, because of the hairy way the doc for the
LFC is generated from the shema, so you should test that the doc
still builds, and probably advise the doc guy about the change (you
should review node and view's doc pages to make sure they still
make sense).
Good point, I hadn't thought about the impact on the refguide of
schema changes. Nevertheless, I routinely build the docs whenever I
do a clean build -- and I always do clean builds after making schema
changes. John, please consider yourself a reviewer for this change,
and I'll amend the changeset description to state that I did run ant
doc.
As for the Ref, in 3.1.1 it does not list legal elements, only legal
attributes, and this change only effects element structure. I didn't
see any difference in the Ref between 3.1.1 and lps-dev with this
change.
Approved if the doc builds sensibly.
Thanks, it does.
On 9 Jan 2006, at 18:30, Jim Grandy wrote:
Change 36864 by [EMAIL PROTECTED] on 2006/01/09 15:26:16 *pending*
Summary:Modify schema to consolidate node-specific element
definitions and reuse them within definition of both node and view.
Bugs Fixed: LPP-1148
Technical Reviewer: ptw (pending)
QA Reviewer: mdavis (pending)
Doc Reviewer: n/a
Details:Node and view were both deriving elements in part from
ObjectElements. Since view's capabilities should be a superset of
node's, it makes sense to define a NodeElements and use it in the
element definitions of both node and view. Arguably we should do
this with the other classes derived from node, but that will have
to wait for a more general revamping of the schema.
Tests:Smokecheck, Laszlo Explorer
Affected files ...
... //depot/lps-dev/WEB-INF/lps/schema/lzx.rnc#29 edit
<changeset-36864.zip>
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev