View previous topic :: View next topic |
Author |
Message |
afb
Joined: 26 Jan 2005 Posts: 137 Location: Sweden
|
Posted: Sun Feb 27, 2005 7:21 pm Post subject: samples |
|
|
Could you post some sample java + xml code,
so that one can verify if the JavaML part works ?
I could have a port to Jikes 1.18 working, but I
want to verify the output against the Win 1.12...
It outputs the XML alright, but after Saxon/XSL
it ends up empty so I wonder if it's a syntax thing.
And I had to port the various .bat into .sh first, too. |
|
Back to top |
|
|
afb
Joined: 26 Jan 2005 Posts: 137 Location: Sweden
|
Posted: Mon Feb 28, 2005 3:55 am Post subject: |
|
|
I have both Jikes 1.12 (on Linux, that is)
and Jikes 1.18 working with JavaML now.
But the Saxon output is still just silent, using
the provided java-xml-to-d.xslt stylesheet ? |
|
Back to top |
|
|
stonecobra
Joined: 25 May 2004 Posts: 48 Location: Rough and Ready, CA
|
Posted: Tue Mar 01, 2005 2:36 pm Post subject: Re: samples |
|
|
afb wrote: | Could you post some sample java + xml code,
so that one can verify if the JavaML part works ?
I could have a port to Jikes 1.18 working, but I
want to verify the output against the Win 1.12...
It outputs the XML alright, but after Saxon/XSL
it ends up empty so I wonder if it's a syntax thing.
And I had to port the various .bat into .sh first, too. |
Just send me some patches and I will post them into the repository. |
|
Back to top |
|
|
afb
Joined: 26 Jan 2005 Posts: 137 Location: Sweden
|
Posted: Fri Mar 04, 2005 3:44 am Post subject: |
|
|
Quick Hacks:
java2d.sh
Code: |
#!/bin/sh
find . -type f | grep ".java$" | xargs -n 1 jikes -nowrite +B +ux
find . -type d | grep "xml-unparsed$" | xargs -n 1 cp java-ml.dtd
find . | grep ".java.xml$" | xargs -n 1 ./saxon.sh
|
java2xml.sh
Code: |
#!/bin/sh
find . | grep ".java$" | xargs -n 1 jikes -nowrite +B +ux
find . | grep "xml-unparsed$" | xargs -n 1 cp java-ml.dtd
find . | grep .java.xml | xargs -n 1 ./saxon.sh
|
saxon.sh
Code: |
#!/bin/sh -x
java com.icl.saxon.StyleSheet $1 `dirname $0`/java-xml-to-d.xslt
|
|
|
Back to top |
|
|
|