Hi Chris, > hello, > just some thoughts of a RelaxNG user...
Nice :-) ! >> >> By combining this pattern with additional stuff (like the xml:* >> attributes >> in your example), people could add their additions to every element in a >> single step. > > this does work quite well but still is tedious, as one has to remember > to put this into *each and every* element. We did quite a large set of > schemata and used this approach for other common attributes used by the > format we work with but it is quite easy to overlook something... Another option is to add these attributes through a XSLT transformation or a regular expression! After all, RNG schemas are also XML documents (in their XML syntax) or text documents (in their compact syntax) and they have the flexibility that these formats give them. My RNG schemas tend to live and evolve a lot thanks to XSLT... > If the downsides are just "minor" (at least it seems, I cannot really > say of the technical issues) - and at least I think they are - the > upsides would win, would they not? One could always ignore this new > feature and RelaxNG is quite simple and logical so that adding a minor > complexity would not really hurt. I guess using the approach you > described in your book itself is quite complex and does not really help > reading and understanding the schema as at least it makes it longer and > also in parts repetitive and redundant. The downside of a new version (even to introduce a very minor feature) is major by itself... Also, one of the reasons why RNG is simple is that its authors have fought hard against any feature that might have been added and that only the ones that had very clear benefits have been accepted. That contrasts with most commitees for which it is always easier to add a feature than to remove one :-) ... Finally, as John has just mentioned, is that worth making changes to RNG to solve something that is solved by NVDL? Eric Eric ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/2U_rlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/rng-users/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
