[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: JITTs and DOM
Rick, Rick Jelliffe wrote: 01a701c27110$ba355cf0$4bc8a8c0@A...">Not sure what you mean by "correctly marked up"? Serious question and here's why:From: "Patrick Durusau" <pdurusau@e...>This ties the processing of the markup to the inline syntax in the Assume we have a document instance that has markup that you have entered using TEI and I have entered markup using DocBook in the same document. So we have some elements that mark the same structures with different names, may have some structures that occur in one and not the other. Assume that you want to process the document using your TEI markup. With a JITTs parser, the only markup that is recognized (let's assume in discard mode) is your TEI markup and that feeds into an XSLT stylesheet for production of a PDF file. Assuming that your TEI markup complies with the TEI DTD, is the document "marked up correctly"? My answer would be yes, because what other test for correct markup can we have other than compliance with a DTD/schema (by the recognized markup) that can then be manipulated by stylesheets or other processing for that DTD or schema? The difference in the JITTs paradigm and the conventional view of processing markup is that the latter burdens the inline syntax with compliance to a particular set of rules prior to processing. Prior to processing, I would argue that there is no correct or incorrect markup in a document instance. If you really wanted to validate all the markup in a document, I can imagine cases where that would be useful, then yes, the sum of the DTDs or schemas would have to cover all the markup in the document. Unlikely in most cases but I can see where that might be a requirement, such as validating both a print and structural view of a document. Patrick 01a701c27110$ba355cf0$4bc8a8c0@A..."> -- Patrick Durusau Director of Research and Development Society of Biblical Literature pdurusau@e...
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|