Warning: Table './webel02_wcadrupal/cache_page' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_page WHERE cid = 'https://www.webel.com.au/parsing/snippet/instance-specification-must-be-unnamed-and-owned-same-package-owns-outermost-contain' in /home/webel02/public_html/includes/database.mysql.inc on line 135

Warning: Cannot modify header information - headers already sent by (output started at /home/webel02/public_html/includes/database.mysql.inc:135) in /home/webel02/public_html/includes/bootstrap.inc on line 736

Warning: Cannot modify header information - headers already sent by (output started at /home/webel02/public_html/includes/database.mysql.inc:135) in /home/webel02/public_html/includes/bootstrap.inc on line 737

Warning: Cannot modify header information - headers already sent by (output started at /home/webel02/public_html/includes/database.mysql.inc:135) in /home/webel02/public_html/includes/bootstrap.inc on line 738

Warning: Cannot modify header information - headers already sent by (output started at /home/webel02/public_html/includes/database.mysql.inc:135) in /home/webel02/public_html/includes/bootstrap.inc on line 739
The instance specification must be unnamed and owned by the same package that owns the outermost containing block for which the initial values are being specified. | Webel IT Australia "The Elements of the Web"

Comments

On the BlockModel and BlockPackage principle

Some years ago Dr Darren introduced custom «BlockModel» and «BlockPackage» stereotypes to express this idea of collecting all data related to a Block in one place, with the «BlockPackage» owning one Block and related artifacts, including InstanceSpecifications assigned to UML Property.defaultValue: ValueSpecification [0..1].

However, enforcing it as a constraint 'must be .. owned by the same package that owns the outermost containing block for which the initial values are being specified' prevents sharing of data through shared InstanceSpecifications, and in some cases - where one relies on sharing for integrity of propagated data, it can be inconvenient.

Why 'The instance specification must be unnamed' ?

Dr Darren contests the need for the InstanceSpecification to be unnamed; naming has enormous value communicating intention, as well as educational value.

randomness