Skip to content

fix #89,fix #90, fix #91 Refactored buildOptions, fixed bug with BOM and added support non-english characters in validator#92

Merged
amitguptagwl merged 7 commits intoNaturalIntelligence:masterfrom
serggonin:small-fix
May 15, 2018
Merged

fix #89,fix #90, fix #91 Refactored buildOptions, fixed bug with BOM and added support non-english characters in validator#92
amitguptagwl merged 7 commits intoNaturalIntelligence:masterfrom
serggonin:small-fix

Conversation

@serggonin
Copy link
Copy Markdown
Contributor

@serggonin serggonin commented May 14, 2018

Purpose / Goal

Corrected returning value defaultOptions in buildOptions function instead of set every newOptions from defaultOptions in loop when there are not user's options. I think it give a little bit rise of perfomance (fix #89). Fixed bug in validation when XML data with byte order marker (BOM) (fix #90). Added support of non-english characters in XML validation (fix #91).

Type

Enhancement, refactoring, bug fix

[x]Bug Fix
[x]Refactoring / Technology upgrade
[x]New Feature

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.02%) to 97.455% when pulling dca277f on serggonin:small-fix into 4d2f618 on NaturalIntelligence:master.

1 similar comment
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.02%) to 97.455% when pulling dca277f on serggonin:small-fix into 4d2f618 on NaturalIntelligence:master.

@coveralls
Copy link
Copy Markdown

coveralls commented May 14, 2018

Coverage Status

Coverage increased (+0.009%) to 97.445% when pulling c56af2f on serggonin:small-fix into 4d2f618 on NaturalIntelligence:master.

Comment thread src/validator.js Outdated

const tags = [];
let tagFound = false;
if (xmlData[0] === "\ufeff") {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment "check for byte order mark (BOM)"

@amitguptagwl amitguptagwl merged commit 9f4116f into NaturalIntelligence:master May 15, 2018
@amitguptagwl
Copy link
Copy Markdown
Member

Thanks for the PR. Will publish changes after generating the browser bundle soon.

@serggonin
Copy link
Copy Markdown
Contributor Author

I hope you didn't forget about publish new version on npm?:relaxed:

@amitguptagwl
Copy link
Copy Markdown
Member

I think I've forgot. Let me check 🤦‍♂️

@amitguptagwl
Copy link
Copy Markdown
Member

done

@serggonin
Copy link
Copy Markdown
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validator doesn't support cyrillic characters Validation crashing when XML data have byte order mark (BOM) Enhancement of buildOptions function

3 participants