Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1283

Differing constant names for "NoNamespaceSchemaLocation"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.5.0, 2.6.0
    • 2.7.0
    • Documentation
    • 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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            vigo vigo graf von harrach
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: