<commit_before># XmlErrorsParser
[![Gem Version](https://badge.fury.io/rb/xml_errors_parser.png)](http://badge.fury.io/rb/xml_errors_parser)
[![Dependency Status](https://gemnasium.com/victormartins/xml_errors_parser.png)](https://gemnasium.com/victormartins/xml_errors_parser)
[![Code Climate](https://codeclimate.com/github/victormartins/xml_errors_parser.png)](https://codeclimate.com/github/victormartins/xml_errors_parser)


  When validating XML using a XSD, we get error messages that are not very friendly, for example:

  `Element '{http://www.portalfiscal.inf.br/nfe}infNFe': The attribute 'Id' is required but missing.`

  What this gem does, is that it processes those errors and enable us to use the I18n gem to internationalize them.
  That way the client/customer can ask/see the error messages in any way they want.

## Installation

Add this line to your application's Gemfile:<commit_msg>Added Documentation Platform<commit_after># XmlErrorsParser
[![Gem Version](https://badge.fury.io/rb/xml_errors_parser.png)](http://badge.fury.io/rb/xml_errors_parser)
[![Dependency Status](https://gemnasium.com/victormartins/xml_errors_parser.png)](https://gemnasium.com/victormartins/xml_errors_parser)
[![Code Climate](https://codeclimate.com/github/victormartins/xml_errors_parser.png)](https://codeclimate.com/github/victormartins/xml_errors_parser)
[![xml_errors_parser API Documentation](https://www.omniref.com/ruby/gems/xml_errors_parser.png)](https://www.omniref.com/ruby/gems/xml_errors_parser)


  When validating XML using a XSD, we get error messages that are not very friendly, for example:

  `Element '{http://www.portalfiscal.inf.br/nfe}infNFe': The attribute 'Id' is required but missing.`

  What this gem does, is that it processes those errors and enable us to use the I18n gem to internationalize them.
  That way the client/customer can ask/see the error messages in any way they want.

## Installation

Add this line to your application's Gemfile:
{'fraction_non_alphanumeric': 0.1172901921132457, 'fraction_numerical': 0.0020222446916076846, 'mean_word_length': 5.618729096989966, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 4, 'xml': 15}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4750403', 'n_tokens_mistral': 653, 'n_tokens_neox': 621, 'n_words': 158}