Re: CES of the reult tree

James Clark wrote:
> > 3) CES of the result tree in the main memory
> > 
> > In the case that the result tree is created in the main
> > memory and then directly used for imaging, the program should just know
> > the CES of the result tree.
> 
> Up to a point.  The result tree internally might use multiple encodings
> (eg iso-8859-1 for text nodes that contain only characters with codes <
> 0x100, ucs-2 for text nodes that contain only characters with codes <
> 0x10000, and ucs-4 otherwise).

Right.  Even in such cases, the program should know the CES of each character 
data.

James Clark wrote:
> The result tree is XML, and the META tag isn't relevant for parsing the
> XML.

Suppose that XHTML documents are created and XML-unaware-but-HTML-aware browsers 
are used to handle them.  Since the MIME header is not available, 
the META tag is the only mechanism to specify the charset of the document.  

One could argue that it is the responsibility of those who write the stylesheet.  
However, I think that it would be great if there is a mechanism for automatically 
generating META tags.

Makoto
 
Fuji Xerox Information Systems
 
Tel: +81-44-812-7230   Fax: +81-44-812-7231
E-mail: murata@apsdc.ksp.fujixerox.co.jp

Received on Friday, 7 May 1999 04:07:52 UTC