
Hi, today I have been debugging some Schematron validation weirdnes. I have observed that if XML document has XSD schema attached using xs:schemaLocation then Schematron validation is invoked on PSVI -- ie. document model that has assigned types from the schema. So even if Schematron is for example comparing dates without explicit type cast: <assert test="StartDate < EndDate"> then this operates on xs:date types as they have been assigned from the schema automatically. Is that right observation? Jirka BTW, I don't think this is a bug, I have been just surprised as I was getting different validation results then I've expected on untyped document. Perhaps this happens automatically if you invoke compiled validation XSLT using Saxon-EE. -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML and Web consulting and training services DocBook/DITA customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz ------------------------------------------------------------------