gsdriver / ssml-check-core

Core SDK for ssml-check
MIT License
13 stars 10 forks source link

Check for incompatible tags #9

Open gsdriver opened 4 years ago

gsdriver commented 4 years ago

Is your feature request related to a problem? Please describe. Amazon describes a set of incompatible tags - tags that cannot simultaneously be applied to the same text. It would be good to check for this and present an error in this case.

Describe the solution you'd like We should have an array of incompatible tags in checkForValidTagsRecursive. If one of these is encountered, it can check that no children are also in the array of incompatible tags

Additional context We should check Google Assistant to see if they have similar limitations