Hello

>>> c:\tools\docbook\jade\jade:../chap_wxcanvas.sgm:43:54:E: character data
>>> is not allowed here
>>>
>>> Which is exactly at the end of the line where i added the slash />
>>>
>>> Any idea ?
>>
>>Well, the problem is kind of basic.
>>It comes from a different syntax between SGML and XML.
>>Empty elements, in XML, are written <name/>, which embodies both <element> and 
></element>.
>>
>>By the way, a question for the gurus. Does the web amendments for SGML permit XML 
>syntax in
>>SGML???

These rules are defined by the corresponding SGML declaration. The SGML declaration 
for XML contains
the following (among other things):
        FEATURES
                MINIMIZE
                        SHORTTAG
                                STARTTAG
                                        NETENABL IMMEDNET

The last line (in it's context) permits the XML syntax of <elem ... />. One can hack 
up his own
working variant of SGML declaration, containing this rule, for his tools to use. As 
for DocBook
documents that are valid XML, you can use
        jade -t xxx -d xxx xml.dcl your-doc.sgml
to process [your-doc.sgml] with XML declaration (which is in [xml.dcl] file in the 
Jade distribution
package).

Regards,
Andrey Taranov,
Customized Information Systems,
Moscow, Russia


------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: [EMAIL PROTECTED]

Reply via email to