Menu

#568 Please externalize the mapping of file extensions to languages as preference file

open
nobody
None
1
2016-02-09
2013-01-25
No

Hi!

Especially for xml are a lot of extensions possible, which all represents url's:

  • configuration files of several ide's and frameworks
  • xsd, which are self xml
  • several specialized XML message standards, eg. FpML (Financial products Markup Language)
  • etc.

For this is would useful if the mapping is configurable externally in a file, which can be written from a text editor or from an ide plugin as JDeveloper PMD Plugin.

Kind regards
Torsten

Discussion

  • Paulo Merson

    Paulo Merson - 2015-06-16

    We have design constraints and conventions to be enforced on wsdl files. It's highly desirable that PMD can read xml files that have a different file extension.

     
  • hmozaffari

    hmozaffari - 2016-02-09

    Yes It would be very convinient if extensions can be defined in rules. I have defined some custom rules for Webmethods flow language which are in XML format. But since their extension is not XML I had to rename files prior to validation by PMD.
    Thanks

     

Log in to post a comment.

MongoDB Logo MongoDB