51 research outputs found

    Comparative Analysis of XML Schema Languages for Improved Entropy Metric

    Get PDF
    The eXtensible Markup Language (XML) is a data set to represent data in a format that is both human readable and machine readable. For XML documents to provide understanding about data exchange between applications, XML schema documents should be validated against the schema language. Most existing schema metrics were implemented differently in Document Type Definition (DTD), XML Schema Definition (XSD) and Regular Language for Next Generation (RNG) but never compare XML schema languages on any metric. Hence this paper compared three different schema languages on Improved Entropy Metric (IEM) using the Number of Attributes (NA), Number of Equivalence Class (NEC), Frequency Occurrence of Class (FOCi) and Number of Elements (NE). The proposed metric was applied on real schemas documents data are acquired from Web Service Description Language (WSDL) and implemented in DTD, XSD and RNG. The result showed that RNG reduce complexity of class elements, reflect strong support for class elements to appear in any order which showed more reusability and flexibility traits and overall understanding of the schema documents becomes much easier because RNG can be algorithmically converted and partner with other schema languages therefore this reduces maintenance effort. Keywords— XML Schema Language, Schema Documents, Schema Metric

    Spud 1.0: generalising and automating the user interfaces of scientific computer models

    No full text
    The interfaces by which users specify the scenarios to be simulated by scientific computer models are frequently primitive, under-documented and ad-hoc text files which make using the model in question difficult and error-prone and significantly increase the development cost of the model. In this paper, we present a model-independent system, Spud, which formalises the specification of model input formats in terms of formal grammars. This is combined with an automated graphical user interface which guides users to create valid model inputs based on the grammar provided, and a generic options reading module, libspud, which minimises the development cost of adding model options. <br><br> Together, this provides a user friendly, well documented, self validating user interface which is applicable to a wide range of scientific models and which minimises the developer input required to maintain and extend the model interface

    Ensuring Query Compatibility with Evolving XML Schemas

    Get PDF
    During the life cycle of an XML application, both schemas and queries may change from one version to another. Schema evolutions may affect query results and potentially the validity of produced data. Nowadays, a challenge is to assess and accommodate the impact of theses changes in rapidly evolving XML applications. This article proposes a logical framework and tool for verifying forward/backward compatibility issues involving schemas and queries. First, it allows analyzing relations between schemas. Second, it allows XML designers to identify queries that must be reformulated in order to produce the expected results across successive schema versions. Third, it allows examining more precisely the impact of schema changes over queries, therefore facilitating their reformulation

    A Tree Logic with Graded Paths and Nominals

    Full text link
    Regular tree grammars and regular path expressions constitute core constructs widely used in programming languages and type systems. Nevertheless, there has been little research so far on reasoning frameworks for path expressions where node cardinality constraints occur along a path in a tree. We present a logic capable of expressing deep counting along paths which may include arbitrary recursive forward and backward navigation. The counting extensions can be seen as a generalization of graded modalities that count immediate successor nodes. While the combination of graded modalities, nominals, and inverse modalities yields undecidable logics over graphs, we show that these features can be combined in a tree logic decidable in exponential time
    corecore