Sebastian Rahtz wrote: >> But this would modify "information content" of document itself > it seems to me that this is what the proponents of the > idea want to do, they genuinely want to enhance > the document.
I think that we are not agreeing on what is "information content" of document. I include elements/attributes/text nodes under this term, while I take PIs and comments as something which doesn't convey primary information of document, just some stuff which can be used by some users/tools as a suplemental information when document is processed in a particular way. > The days when you got the "real" content of a document > by stripping out all tags is surely past? I don't think so. It depends. >> - how would you implement validation in a streaming mode if you must >> lookahead NVDL snippet first >> > doesn't the same apply to a PI? it has to be inside the root > element, so you have to open the document. and it applies > to the XSD element. Nope, PIs can be before root element, for example <?schema href="sdocbook.rng"?> <article ...> ... </article> >> I think that for situations where schema can't be specified indirectly >> using NVDL or similar technology using <?schema?> PI is the best >> solution -- easy to use, easy to implement, no side-effect in existing >> toolchains. >> > but it does require a new ad hoc agreement, and one which cannot > be checked against a schema, or contain any useful documentation. > I agree it would work (if tool vendors wanted), but I don't think > its as much fun as it could. Why I should check schema association PI against schema? Schema is for describing document content, PI is not part of document content. > Anyway, I tend to agree with Lou that I want different > schemas at different times, and that I'd rather not be > dictated to by the document... OK, so then you will not use <?schema at all or you will just ignore this PI. But there are still people who need this functionality. -- ------------------------------------------------------------------ Jirka Kosek e-mail: [EMAIL PROTECTED] http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO/JTC1/SC34 member ------------------------------------------------------------------ Want to speak at XML Prague 2007 => http://xmlprague.cz/cfp.html
signature.asc
Description: OpenPGP digital signature
