From: Bob Hutchison Date: 2001-11-14T11:38:22+09:00 Subject: [ruby-talk:25137] Re: XML support in the standard lib; whatexactly? On 01/11/13 8:59 PM, "James Britt (rubydev)" wrote: >> >>> The infoset spec seems to represent what a new RubyWay XML tree API needs. >>> http://www.w3.org/TR/xml-infoset/ >> >> The infoset spec defines the information contained in an XML document, it >> does not say how to implement it. For example, when it talks about 'sets' it >> means the mathematical kind. You can implement this set with an array for >> instance, but you should not assume that the ordering of the array is >> information actually provided by the XML document. > > The a document's infoset may also depend on a DTD or Schema, as default and > implied values may be added. Yes, for DTD at least. I don't know about the schema though. Does the W3C schema have a special position? What about RelaxNG, Trex, Relax, schematron, and so on? Do they affect the contents of the infoset? As I write this, I'm starting to think that maybe only the DTD can affect the infoset. Hmmm. > > james > > >> >> Cheers, >> Bob >>> >>> Tobi >>> >>> >>