Code example for InputSource

Methods: getByteStreamgetCharacterStream

     *  validate a GETMAP against the schema 
     * @param xml  input stream representing the GETMAP file 
     * @param SchemaUrl location of the schemas. Normally use ".../capabilities/sld/StyleLayerDescriptor.xsd" 
     * @return list of SAXExceptions (0 if the file's okay) 
    public List validateGETMAP(InputSource xml, URL SchemaUrl) {
        return ResponseUtils.validate(xml, SchemaUrl, true);
Experience pair programming with AI  Get Codota for Java