- From: Florent Georges <fgeorges@fgeorges.org>
- Date: Sun, 25 Oct 2009 17:06:09 +0100
- To: XProc Dev <xproc-dev@w3.org>
Hi, I am surprised to see the following piece of code in the method ValidateWithXSD.validateWithXerces(): XdmNode schemaNode = schemaDocuments.get(0); InputSource is = S9apiUtils.xdmToInputSource(runtime, schemaNode); is.setSystemId(schemaNode.getBaseURI().toASCIIString()); Schema schema = factory.newSchema(new SAXSource(is)); It seems only the first schema document is actually used. Why not use the method SchemaFactory.newSchema(Source[]) instead of SchemaFactory.newSchema(Source)? Did I miss something? Regards, -- Florent Georges http://www.fgeorges.org/
Received on Sunday, 25 October 2009 16:06:43 UTC