RE: Namespace or document gloss?
Paul Grosso wrote, > Miles Sabin wrote, > > I don't think that's the right way to go. By hardwiring > > references to associated resources into the document instance > > itself you make it impossible to reuse an existing doc with a > > different collection of resources without modifying the doc, > > or using some XML processor specific override mechanism (eg. > > a SAX entity resolver). > > There is a fallacy somewhere here (and I don't mean to pick on > Miles, but his comment above reminds me that I've seen this > elsewhere too). If we are talking about standardizing > something in the belief that doing so is a solution to > anything, then how can we suggest that an entity resolver--as > already standardized by TR9401 , as XML-ized in Cowan's XML > Catalog , as implemented in various places including > publicly available code , and as being re-standardized in > the OASIS ER TC --is somehow inappropriately "XML processor > specific." I think we're talking at cross purposes. My fault for not being more careful with my spelling: what I meant was 'eg. a SAX EntityResolver'. And, on the contrary, I think that TR9401 and John Cowans XMLCatalog look very promising ... tho' I'm not yet convinced they can do the whole job (where, for me, the whole job includes controlled, authorized, substitution and distributed as well as local management). The difference between the entity resolver you're talking about and a SAX EntityResolver is quite straightforward: the former has well defined, documented semantics; the latter is simply a programming API, implementations of which are (by design) both infinitely varied and completely opaque. Cheers, Miles -- Miles Sabin InterX Internet Systems Architect 5/6 Glenthorne Mews +44 (0)20 8817 4030 London, W6 0LJ, England msabin@i... http://www.interx.com/
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