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

Unable to extract parsed namespaces via CndNodeTypeReader

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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(); }

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: