Explorar el Código

HPCC-16618 XmlSchema xs:fractionalDigits should be xs:fractionDigits

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman hace 8 años
padre
commit
5d849db881
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      common/deftype/deftype.cpp

+ 1 - 1
common/deftype/deftype.cpp

@@ -3679,7 +3679,7 @@ void XmlSchemaBuilder::getXmlTypeName(StringBuffer & xmlType, ITypeInfo & type)
             type.getECLType(typesXml);
             typesXml.append("\"><xs:restriction base=\"xs:decimal\">");
             typesXml.appendf("<xs:totalDigits value=\"%d\"/>", type.getDigits());
-            typesXml.appendf("<xs:fractionalDigits value=\"%d\" fixed=\"true\"/>", type.getPrecision());
+            typesXml.appendf("<xs:fractionDigits value=\"%d\" fixed=\"true\"/>", type.getPrecision());
             typesXml.append("</xs:restriction></xs:simpleType>").newline();
         }
         break;