Skip to content
This repository was archived by the owner on Apr 11, 2023. It is now read-only.
This repository was archived by the owner on Apr 11, 2023. It is now read-only.

incompatibility with node v0.12 #205

Closed

Description

@kildem

JaySvcUtil.js requre node_xslt (line 278),
but node_xslt doesn’t compile with the last version of node (v0.12),
is it possible to use other module rather than
node_xslt?

Activity

  1. jaydata commented on Feb 17, 2015

    @jaydata
    Contributor

    Do you need the server or the client capabilities?

  2. kildem commented on Feb 17, 2015

    @kildem
    ContributorAuthor

    server capabilities

  3. jaydata commented on Feb 17, 2015

    @jaydata
    Contributor

    That can operate without node_xsl - till we fix it try faking the node_xsl module - its functionality is not required for a server to run/operate.

  4. kildem commented on Feb 26, 2015

    @kildem
    ContributorAuthor

    if I replace node_xslt with xslt4node it works in node v0.12 too

    var xslt4node = require('xslt4node');
          var config = {
            xslt: transformXslt,
            source: metadata,
            result: String,
            params: {
              'SerivceUri': cnf.SerivceUri,
               'EntityBaseClass': cnf.EntityBaseClass ,
               'ContextBaseClass': cnf.ContextBaseClass ,
               'AutoCreateContext': cnf.AutoCreateContext ,
               'ContextInstanceName': cnf.ContextInstanceName ,
               'EntitySetBaseClass': cnf.EntitySetBaseClass ,
               'CollectionBaseClass': cnf.CollectionBaseClass ,
               'DefaultNamespace': cnf.DefaultNamespace ,
               'MaxDataserviceVersion': (versionInfo.maxVersion || '3.0') ,
               'AllowedTypesList': cnf.typeFilter ,
               'GenerateNavigationProperties': cnf.navigation 
           }
          };
         return xslt4node.transformSync(config);
    
  5. kildem commented on Feb 26, 2015

    @kildem
    ContributorAuthor

    xslt4node is the only xslt transform I found that doesn't have incopatibility with previous versions and the last version of node v0.12

  6. kildem commented on Mar 6, 2015

    @kildem
    ContributorAuthor

    node_xslt installation fails in Node v >= 0.11.13 bsuh/node_xslt#24.
    What do you think about my pull request to fix this problem? #207

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions