[opencms-dev] Refine content definition schemas

Jorge González informatico at hotelparadisepark.com
Tue Dec 7 13:21:11 CET 2004


Hi list:

This is a possible new feature, for discussion.

Well, version 6 most beautifull feature (for me) is the definition of the
content structure, using a 'simple' xsd schema. The rest of the content
management process (content life cycle) is done by the opencms system.
This is wonderfull if you have a very well defined content domain. But, i
fear this is not the standard on our web projects. Example:

The content is "Product for sale"
The marketing guys want new data, "rating of the product by the users" to be
introduced.

Then, with the actual content definition system and tools, you could modify
the xsd, or introduce another object type, "Rating" with a link to the
"Product for sale". This is a tricky AND slow solution, but could work.

The feature is: Provide a flexible way of editing the content schema after
the content definition and publishing. It could be an script that reads all
the content xml files and checks for correctness, GENERATING the empty
fields, possibly assigning a default value, configured by the admin.

It could be more simple to have a "check xml" script, that lists all the xml
content that does not validate against its schema (showing a link list so
you can correct all the content from that list).


What do you think about it ?

Jorge.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20041207/cbf10bfb/attachment.htm>


More information about the opencms-dev mailing list