Don't know of any custom tags, but I have a java class file which validates against an 
xml schema. I just call this via cfobject. Email me off-list for a copy.

>>> "Kola Oyedeji" <[EMAIL PROTECTED]> 09/02/03 07:08pm >>>

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] 



***************************************************************************
This message has been swept for viruses and other
unsuitable content by the Ofsted Mail Sweeper in
accordance with OFIN 59, however care should be 
taken when opening any attachments from an untrusted
source.
***************************************************************************



**********************************************************************
We cannot accept any liability for any loss or damage
sustained as a result of software viruses. It is your
responsibility to carry out such virus checking as is necessary before opening any 
attachment to
this message.

The information in this email and any files transmitted with
it may be of a confidential nature and is intended solely for
the addressees. If you are not the intended addressee, any
disclosure, copying or distribution by you is prohibited and
may be unlawful.

www.ofsted.gov.uk
**********************************************************************


--
** 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