Ethan Quach wrote: > > > Jack Schwartz wrote: >> Hi Ethan. >> >> >>>> >>>> >>>> General: >>>> >>>> In general, the parser places the requirement on the derived >>>> profiles project that the format of the tags be in an easily >>>> searchable format, for example that they contain a common prefix >>>> which can be searched for. >>> >>> Its not clear to me that we're going to be using the >>> parser to do syntactical validation of the base manifest >>> on the server. I will note this possibility though. >> OK, but there are other reasons too. In addition to use for >> validation, this will allow you to easily search for the items you >> want to process. Since they can be anywhere in the tree, the ability >> to use some kind of wildcard to find all items will be useful. > > That's a good point; tough, doesn't the document need > to qualify to meet the given schema before the parser > can even read and serve the document to searches for > a consumer? Yes, but I think you could put that in the schema: adding "or" requirements such that at each level, either a syntactically valid tag is needed, or a derivable tag is need. Something where any of the following cases would syntactically validate:
<tagOne> <tagTwo>value</tagTwo> <tagTwo>value</tagTwo> </tagOne> <tagOne> <tagTwo derived="true" /> <tagTwo derived="true" /> </tagOne> <tagOne derived="true" /> > > > thanks, > -ethan > > _______________________________________________ > caiman-discuss mailing list > caiman-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/caiman-discuss