From: james@... Date: 2002-06-10T07:39:24+09:00 Subject: RE: ANN: REXML 2.3.5 && 2.2.3 > My big question is: do I invest the time and effort in providing XML > validation via RelaxNG, via XMLSchema, or do I wait and see > which comes out "on top"? None of the above. REXML should not do validation. It should, perhaps, have a means for hooking one or more external validation processors, be it via DTD, W3C XML Schema, Schematron, XML-Prover, RELAX-NG, regular expressions, what have you. Maybe. Maybe it should pass back the results of validation, and perhaps have a means for updating the REXML document based on post-validation processing (e.g., default attributes & values provided by the PSVI ). Validation and document manipulation are two different tasks that should be handled separately, with an option to chain the tasks, or piped the results of one into the other. On a side note, prior discussion of Ruby & XML seemed to emphasize the Ruby Way, not (necessarily) the W3C way, to process XML. What's the Ruby Way of validating XML? Why worry about W3C XML schemas if there's no W3C XML DOM? James