Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.5.0, 2.6.0
-
None
-
(any, this is a documentation issue)
Description
to specify a no-namespace schema location, documentation wrongly suggests to use the predefined constant "fgXercesSchemaExternalNoNamespaceSchemaLocation";
the implied constant (as declared in <xercesc/util/XMLUni.hpp>) is actually - but unfortuately, see below - called "fgXercesSchemaExternalNoNameSpaceSchemaLocation" (with "...NameSpace..." vs. "...Namespace...").
Note that the usage of "namespace" is inconsistent within (at least) the XMLUni-declared constants, e.g.
fgXercesSchemaExternalNoNameSpaceSchemaLocation,
fgSAX2CoreNameSpaces,
fgSAX2CoreNameSpacePrefixes,
fgDOMNamespaces, and
fgDOMNamespaceDeclarations;
afaik, "namespace" is a single word, and thusly both documentation and the two constants "fgDOMNamespaces" and "fgDOMNamespaceDecls..." are /correctly/ spelled (innerCaps-wise) - the others should probably be renamed (or correctly spelled siblings supplied).