Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1127

Unable to extract parsed namespaces via CndNodeTypeReader

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.5.0.Beta1
    • 2.4.0.Final
    • JCR
    • None
    • Workaround Exists
    • Hide

      Subclass the CndNodeTypeReader and add one or both of these methods

      public ExecutionContext getExecutionContext() {
      return context;
      }

      public NamespaceRegistry getNamespaceRegistry() {
      return context.getNamespaceRegistry();
      }

      Show
      Subclass the CndNodeTypeReader and add one or both of these methods public ExecutionContext getExecutionContext() { return context; } public NamespaceRegistry getNamespaceRegistry() { return context.getNamespaceRegistry(); }

      Working on using Cnd framework to help replace Teiid Designer's Model Extension framework.

      Was successful in using CndNodeTypeReader to parse a CND string containing extended model properties. This string also included new Namespaces that were also parsed by the reader.

      The namespaces are stored in the CndNodeTypeReader via it's ExecutionContext. This context is NOT exposed in a public method so there is no current way to retrieve that information via the reader.

      Request making/exposing either the execution context or the list of new/parsed namespaces and their prefix's.

            rhauch Randall Hauch (Inactive)
            blafond Barry LaFond
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: