Subject: Jade
From: "Peter Sognefur" <sognefur@xxxxxxxxxxx>
Date: Wed, 24 Nov 1999 11:29:20 CET

I use a simple xml document with a internal DTD subset. I just want to test Jade so I know that its working before I go on. The xml file and the dsssl style-sheet is a simple (I thought) example in a book that I'm reading. "XML in 21 days".

This is the xml file:

<?xml version="1.0"?>

<!DOCTYPE test [
<!ELEMENT test (a|b)*>

<a>This is a test</a>
<b>This is also a test</b>
<b>This is another test</b>

And this is the dsssl file:

<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN">

(define *rgb-color-space*
	(color-space "ISO/IEC 10179:1996//Color-Space Family::Device RGB"))

(define *blue*
	(color *rgb-color-space* 0 0 1))

(define *red*
	(color *rgb-color-space* 1 0 0))

(root (make simple-page-sequence
	page width:    8.5in
	page-height:   11in
	top-margin:    1in
	bottom-margin: 1in
	left-margin:   1in
	right-margin:  1in
	    (process children)))

(element test
	(process children))

(element a (make paragraph font-size: 24pt color: *blue* quadding: 'center space-before: 10pt line-spacing 20pt))

(element b
	(make paragraph
	 	font-size:	18pt
		color:		*red*
		line-spacing	30pt))

I cant find anything wrong....but I still got the same error message....

jade -f error.log -t rtf -wno-valid -d converter.dsl -o test.rtf test.xml
H:\Project\Software\Jade\jade.exe:<OSFD>0:1:0:E: carachter "j" not allowed in prolog

The "j" charachter is the first "j" in jade on the first row. I can write anything a want....like:

made -f error.log......

Then I will get this error message:

H:\Project\Software\Jade\jade.exe:<OSFD>0:1:0:E: carachter "m" not allowed in prolog




Get Your Private, Free Email at http://www.hotmail.com

DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist

Current Thread