|
Subject: Jade crashes on silly code From: Jany Quintard <quintard.j@xxxxxx> Date: Mon, 4 Oct 1999 13:27:14 +0200 (MEST) |
Hi
I am not sure if this is really a bug, but Openjade (version "1.2.2")
crashes (Segmentation fault) on my Linux when trying to process this rule:
==================================
(element (dprolog titleblk title)
(make element gi:
(string-append "H"
(number->string (+ 1 (length (hierarchical-number-recursive "d")))))
(make element gi: "A"
attributes: (list
(list "NAME"
(if (attribute-string "ID")
(attribute-string "ID)
(string-append "BODY"(xo-division-numid)))
)
(list "TITLE" "To table of contents")
(list "HREF" (string-append "#TOC"
(xo-division-numid))))
(make sequence (literal
(xo-division-numid) " ")
(process-children-trim)))))
====================================
The error is in :
(attribute-string "ID)
with a missing ".
Hope this can be useful.
Jany.
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: char-property in Jade, Peter Nilsson | Thread | Re: Jade crashes on silly code, Peter Nilsson |
| char-property in Jade, Jon Haugsand | Date | RE: XSL equivalent sought., Didier PH Martin |
| Month |