#313 Man Syntax Parser gives facets unexpected datatype

3.4.5
closed-fixed
None
5
2013-10-02
2012-03-26
Timothy Redmond
No

In Protege we discovered that when parsing "decimal[<=2.0, >= 1.0]" the resulting datatype restriction was bad. The 2.0 and 1.0 numbers in the facets were xsd:doubles even though the datatype restriction was a restriction of the decimal datatype.

The attached file isolates the problem.

Discussion

  • Another example of the same problem from a previous bug:

    Ontology:

    DataProperty: xsd:a
    Range: {1.2}

     
    • assigned_to: nobody --> ignazio1977
     
  • Fixed

     
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     In Protege we discovered that when parsing "decimal\[&lt;=2.0, &gt;= 1.0\]" the resulting datatype restriction was bad.  The 2.0 and 1.0 numbers in the facets were xsd:doubles even though the datatype restriction was a restriction of the decimal datatype.
    
     The attached file isolates the problem.
    
    • status: open --> closed-fixed
    • Group: --> 3.4.5