No expert either but I'm sure a parser will parse a document and throw
some kind of error if the document is not well-formed i.e. doesn't
confirm the XML standard. However for a document to be valid it has to
be validated against a dtd or a schema which determines what
tags/attributes can appear in a document, the amount and how they're
nested. Ideally I want a function which given a dtd url validates the
document against this url. I'll have a look at the BF udf you posted the
link to, 

Thanks

Kola

>> -----Original Message-----
>> From: Mark Smyth [mailto:[EMAIL PROTECTED]
>> Sent: 02 September 2003 16:44
>> To: '[EMAIL PROTECTED]'
>> Subject: RE: [ cf-dev ] XML validation in CF5
>> 
>> Hi Kola
>> 
>> theres a UDF on CFLIB by Forta which checks for valid XML
>> http://www.cflib.org/udf.cfm?ID=993
>> 
>> but I don't think you'll find a tag which will validate against a
dtd,
>> i'm
>> no XML expert but isn't that the role of the xml parser?
>> 
>> hth
>> mark
>> 
>> -----Original Message-----
>> From: Kola Oyedeji [mailto:[EMAIL PROTECTED]
>> Sent: 02 September 2003 13:02
>> To: [EMAIL PROTECTED]
>> Subject: [ cf-dev ] XML validation in CF5
>> 
>> 
>> 
>> Hi
>> 
>> Is anyone aware of a custom tag which can validate an xml document
>> against a dtd or a schema in CF5?
>> 
>> 
>> Thanks
>> 
>> Kola
>> 
>> 
>> --
>> ** Archive:
http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>> 
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> For human help, e-mail: [EMAIL PROTECTED]
>> 
>> --
>> ** Archive:
http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>> 
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> For human help, e-mail: [EMAIL PROTECTED]


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to