I'm trying to validate a document against a Schema and I'm getting the following error... Runing VAJ 3.5, NT4.0 sp6, Xerces 1.4, Xalan 2.0.1 Debugger Stack Trace Report: Thread[main,5,main] (Alive) Problem in org.apache.xerces.utils.regex.Op org.apache.xerces.utils.regex.RegularExpression.compile(org.apache.xerces.utils.regex.Token, org.apache.xerces.utils.regex.Op, boolean): Type mismatch: cannot convert from org.apache.xerces.utils.regex.Op$ModifierOp to org.apache.xerces.utils.regex.Op. Here is my code.... DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setValidating(true); factory.setNamespaceAware(true); DocumentBuilder builder = factory.newDocumentBuilder(); DefaultHandler def = new MyErrorHandler(); builder.setErrorHandler(def); Document mydoc = builder.newDocument(); Document d = builder.parse("file:///D:/somedirectory/xmldoc/simple.xml"); Here is the XML instance <request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="simple.xsd" server="someserver" database="mydatabase"> <mmm_facility_code>ht</mmm_facility_code> <qc_status_code>Qtx</qc_status_code> </request> Here is the Schema... <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema"> <element name="request"> <complexType> <sequence> <element ref="mmm_facility_code"/> <element ref="qc_status_code"/> </sequence> <attribute name="server" type="string" use="required"/> <attribute name="database" type="string" use="required"/> </complexType> </element> <element name="mmm_facility_code" type="string"/> <element name="qc_status_code" type="string"/> </schema> Do I need to upgrade my Xerces? Is my Schema correct? Is there anyway for documents to come in (like via a SOAP service) with the SPECIFIC location of the schema document and allow me to programaticly look at the Schema name and load it then validate the document against that schema? (kind of the the Microsoft SchemaCache concept). thanks Doug