Coder Social home page Coder Social logo

jxsl's People

Contributors

dependabot[bot] avatar mercibe avatar

Watchers

 avatar

jxsl's Issues

Unable to run xspec tests from example

What steps will reproduce the problem?



1. Followed instructions from: http://code.google.com/p/jxsl/ 
Ran the maven command:

mvn archetype:generate -DarchetypeGroupId=com.servicelibre 
-DarchetypeArtifactId=xspec-test -DarchetypeVersion=0.1.11 
-DarchetypeCatalog=http://jxsl.googlecode.com/svn/trunk/archetypes

2. Receive the error:
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on 
project standalone-pom: The desired archetype does not exist 
(com.servicelibre:xspec-test:0.1.11) -> [Help 1]

3. Change the -DarchetypeVersion to: 0.1.10 and then it works. 

4. Followed the instructions to install the saxon 9.3.0.2j to local the 
repository

5. Ran the command: mvn test

6. The tests did not seem to run

7. Added sure-fire plugin and JUnit dependency to the pom.xml

8. Added the method: public void testThis() to 
com.servicelibre.XspecJUnitTest.java:

    public void testThis(){
        System.out.println("~~~~~~~~@@@@@@@@@Running testThis()");
        File aFile = new File("xspec/tutorial/escape-for-regex-success.xspec");
        XspecJUnitTest aTest = new XspecJUnitTest(aFile);
    }

9. Run the command: mvn test

10. Get the error:

Running com.servicelibre.XspecJUnitTest
org.apache.maven.surefire.booter.SurefireExecutionException: Could not 
initialize class 
com.servicelibre.jxsl.scenario.test.xspec.XspecScenarioJUnitTest; nested 
exception is java.lang.NoClassDefFoundError: Could not initialize class 
com.servicelibre.jxsl.scenario.test.xspec.XspecScenarioJUnitTest
java.lang.NoClassDefFoundError: Could not initialize class 
com.servicelibre.jxsl.scenario.test.xspec.XspecScenarioJUnitTest
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)


What is the expected output? What do you see instead?
The tests in xspec/tutorial/escape-for-regex-success.xspec to run

What version of the product are you using? On what operating system?
I want to use 0.1.11, but maven reported that version 0.1.11 does not exist, so 
I used 0.1.10 instead.

Please provide any additional information below.
It seems like the instructions on:

http://code.google.com/p/jxsl/

just do not work.  How do I invoke the xspec tests within XspecJUnitTest.  
Since the code is in src/test/java shouldn't the project list the sure-fire 
plugin and depend on JUnit?  If you have an update set of steps that work, 
please provide them, thanks.


Original issue reported on code.google.com by [email protected] on 22 Feb 2012 at 7:36

Attachments:

com.servicelibre:servicelibre-parent:pom:5 not available on maven repository

What steps will reproduce the problem?
1. Create module using archetype:
mvn archetype:generate -DarchetypeGroupId=com.servicelibre 
-DarchetypeArtifactId=xspec-test -DarchetypeVersion=0.1.10 
-DarchetypeCatalog=http://jxsl.googlecode.com/svn/trunk/archetypes
2. mvn test

What is the expected output? What do you see instead?
Error:
[ERROR] Failed to execute goal on project icwgroup-wc-xldp-dp2: Could not 
resolve dependencies for project 
com.icwgroup.wc:icwgroup-wc-xldp-dp2:jar:1.0-SNAPSHOT: Failed to collect 
dependencies for [com.servicelibre:jxsl:jar:0.1.11 (compile), 
net.sf.saxon:saxon:jar:9.3.0.2j (compile)]: Failed to read artifact descriptor 
for com.servicelibre:jxsl:jar:0.1.11: Failure to find 
com.servicelibre:servicelibre-parent:pom:5

What version of the product are you using? On what operating system?
0.1.10.
Windows 7

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 15 Aug 2014 at 12:51

Broken link in Test report

generate-xspec-tests.xsl
<param name="outputDir">jxsl-output-dir/</param>

generate-tests-utils.xsl:25
<xsl:param name="outputDir"/>

generate-tests-utils.xsl:573
<xsl:result-document href="{concat($outputDir, $href)}" format="x:report">

Original issue reported on code.google.com by [email protected] on 25 May 2011 at 6:25

Allow URLs with basic authentication credentials in xspec files

It would be nice if jxsl could use a special UriResolver to allow URLs with 
basic authentication credentials in xspec files.

Very useful for accessing XML files in an eXist database, for instance.

Similar to:
http://www.fgeorges.org/xslt/saxon-ext/
http://www.fgeorges.org/xslt/saxon-ext/fgeorges-0.1.zip
org.apache.fop.apps.FOURIResolver

Basically this UriResolver would check the Uri to detect [username:password] 
strings between scheme and server name (http://username:[email protected]) 
and would use them to get the source document.


Original issue reported on code.google.com by [email protected] on 6 Jun 2011 at 5:43

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.