Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: how to debug XML? >Thread Next - Re: how to debug XML? Re: how to debug XML?To: NULL Date: 11/1/2005 9:24:00 PM Peter Flynn wrote: > There are > two related types of error that do occur in XML, however: > > a) conceptual errors in the construction of DTDs or Schemas > b) well-formedness or validity errors in the document > > Type (a) is usually down to a misunderstanding of the nature of markup. > Some people want to model data in unusual, perverse, or vexatious ways > (even CS people who ought to know better :-) but mostly there are good > tools for creating Schemas and DTDs built into IDEs and editors which > allow you to test their syntactic validity even if they allow semantic > nonsense. > > Type (b) is tested with standard parsing and validation tools, either > standalone (from the console command line) or built into the interface > of whatever editor or other IDE you are using. I guess I meant, party, option B, and then I guess I also meant the PHP code that might generate some XML. But I suppose that is a PHP question. I was thinking about well-formedness, for sure, but also enforcement of a scheme. Like, if a DTD says only one thing is allowed in a field, and something else gets in there. I suppose that is well-formedness too? | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
