Bob,

I am little bit confused. Xerces-C has the datatype string constants in
SchemaSymbols as defined in the spec (i.e. fgDT_DECIMAL  = "decimal").
Xerces-C does not have 'Decimal' as a string constant. However, Decimal is an
enumeration value (ValidatorType) in DatatypeValidator.

Khaled

Robert Buck wrote:

> It seems to me that several other XML parsers (SAX or DOM), even Xerces-J,
> use string constants for the primitive data types. And those other
> implementations seem to use the names as indicated by the XML Schema
> specification. But in Xerces-C different names are used. For instance,
> instead of "decimal", Xerces-C uses "Decimal". There are several other
> cases too.
>
> Is there any reason why someone did this? Would there be an opposition to
> changing Xerces to be consistent with the names in the XML Schema spec? It
> just seems that Xerces-C is the odd-ball implementation out there, with
> everyone else standardizing on the names presented by the W3.
>
> I am layering my application in such a way that will enable me to swap out
> Xerces-C for any other parser (perhaps Xerces-J). And I could just compare
> strings ignoring case, but to be painfully picky, "Decimal" is different
> from "decimal".
>
> Does anyone else have any thoughts on the matter?
>
> Bob
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to