使用SRML增强XML验证
Enhanced XML Validation using SRML
摘要:
随着互联网上系统消耗和传输的数据量不断增长,数据验证变得越来越重要。重要的是要确保发送的数据是有效的,因为它可能包含输入错误,这些错误可能会被不同的系统消耗,从而导致进一步的错误。XML已经成为数据传输的事实标准。创建XML模式定义语言(XSD)是为了帮助XML结构验证并为数据类型限制提供模式,但是它不允许更复杂的情况。在这篇文章中,我们介绍了一种方法,通过扩展和改进我们的SRML元语言,提供基于规则的XML验证和纠正。我们还探索了在数据库中应用它作为CRUD操作的触发器的选项,允许在原子级别上进行更细粒度的数据集验证,从而允许更复杂的数据集记录验证规则。
英文摘要:
Data validation is becoming more and more important with the ever-growing amount of data being consumed and transmitted by systems over the Internet. It is important to ensure that the data being sent is valid as it may contain entry errors, which may be consumed by different systems causing further errors. XML has become the defacto standard for data transfer. The XML Schema Definition language (XSD) was created to help XML structural validation and provide a schema for data type restrictions, however it does not allow for more complex situations. In this article we introduce a way to provide rule based XML validation and correction through the extension and improvement of our SRML metalanguage. We also explore the option of applying it in a database as a trigger for CRUD operations allowing more granular dataset validation on an atomic level allowing for more complex dataset record validation rules.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。