[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] Registering XPathFilter for other mime types



Robert Leftwich wrote:
Is it possible to register the XPathFilter for other mime types, such as application/xml or even more app-specific mime types, such as application/cool ?
No, but you can extend the plugin

  org.xmlBlaster.engine.mime.xpath.XPathFilter.java

  public String[] getMimeTypes() {
      String[] mimeTypes = { "text/xml", "image/svg+xml" };
      return mimeTypes;
  }

to not return the hardcoded type (see above) but
some from the xmlBlaster configuration.

If you change this we will take it into the next release.

regards

Marcel

Robert




--
http://www.xmlBlaster.org