Hi Carl I'm afraid Jason is right - ColdFusion MX doesn't support validation of XML documents against DTDs or schemas. I'm going home now but tomorrow I'll demonstrate a Java function you can use to validate your documents.
Tom > Okay... I guess that went over like a lead balloon. > How 'bout validating against schemas? > > Is anyone doing any validating at all?? > > > -----Original Message----- > > > Is there any way to actually validate an XML doc against a DTD from within MX? > > The idea being to provide a friendly error message if it fails. > > What are some ways people are validating XML? Even when I try to define the > DTD within the XML file itself (<!DOCTYPE rootelement SYSTEM > "somedocdef.dtd">), no matter what path I try to define, MX's parser complains > that it "can not resolve the relative URI without a base URI". > > I'm surprised there isn't a <XMLValidate> tag. > > > Thanks, > -Carl > > > -----------------+ tom dyson t: +44 (0)1608 811870 m: +44 (0)7958 752657 http://torchbox.com -----------------------+ cf-xml mailing list http://torchbox.com/xml/list.cfm
