[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: The general XML processing problem
Patrick Durusau writes: > > (SSL) > > What's interesting to me about this discussion is the separation of > > the information in the XML document from the processing it will > > receive. Although the creators and senders of that document may > > have their own expectations about how that document will be > > processed, there is nothing intrinsic to the XML which binds it to > > particular processing. > > > (PD) > Curious that the tree syntax of XML (at least if you have > "well-formed" XML) is not seen as a processing requirement. You can > process non-"well-formed" XML documents via SAX (or your MOE) that > simply ducks the question of why require the tree syntax for validity > in the first place? Isn't that a processing requirement as well? > > Shouldn't processing decide what markup it wants to use and how it > wants to use it? That's an excellent question. I'd mentioned at the end that: > > Embedding markup in documents is already adding a lot of > > information that might from some perspectives better considered > > separate from the document. The hierarchical issues arise from the particular style of embedded markup that XML uses, and there's a serious trade-off there. XML is not as flexible for created labeled structures as it might be precisely because it is typically embedded directly in documents, and because XML's creators found ambiguity a problem. Other processing systems could use other (non-XML) forms of markup to avoid XML's "everything is a tree" notion, or they could use some kind of out-of-line markup to enable the description of multiple overlapping structures for the same document. XLink/XPointer is one way of doing that. I've also been playing with my own Out-of-line fun, Ool: http://simonstl.com/projects/ool/ I'll be talking more about Ool (and about Ted Nelson's ideas which got me started that direction) at the Extreme Markup conference in Montreal next month. I think you'll be there, and I'll be posting the presentation on my site in any event. -- Simon St.Laurent Ring around the content, a pocket full of brackets Errors, errors, all fall down! http://simonstl.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
|