Detecting unknown XML tags in Scala -
I am creating an XML parser in Scala and want to be defensive against user mistakes. If the user returns a tag that I do not support (for example, The best suggestion I have received is to get the XML schema and validate that file. Use the. W3schools show how to make a schema, there are many tools and classes that use these schemas to validate XML, I hope to update this answer as soon as possible, the way I work most efficiently Do it
& lt; name & gt; ) or more commonly , The wrong place on the tag, I want to find it and throw an error. How can I do this scala?
Comments
Post a Comment