This is something I have never tried before. We created an XML Schema
to define XML documents we expect to receive from various entities.
When we receive the document, we would like to validate it before
processing it. I think ColdFusion is up to this from reading the
documentation, but
Small sample files that produce the error.
XML Schema
|?xml version=1.0 encoding=iso-8859-1?
xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema;
xs:element name=pur
xs:complexType
xs:sequence
xs:element name=File type=xs:string
This worked on railo:
cfsavecontent variable=xs?xml version=1.0 encoding=iso-8859-1?
xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema;
xs:element name=pur
xs:complexType
xs:sequence
xs:element name=File type=xs:string
minOccurs=1 maxOccurs=1/
3 matches
Mail list logo