forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "IAS" <>
Subject RE: [problem] xdocs validator doesn't support Korean characters
Date Tue, 26 Nov 2002 12:42:48 GMT
First of all, I'd appreciate your effort on testing. I was surprised
that your Forrest validated my xdocs as "OK" because I've been still
going through validation problems with Forrest validator to my xdocs.
It's even stranger that your validator and mine made distinct results
based on the same xdocs. The only essential discrepancy between jEdit
(that says all my xdocs are valid) and Forrest (that says some of my
xdocs are invalid) ant task is the choice of Reader, i.e., StringReader
and FileReader. I just suspect that Sun's Korean-locale (and other DBCS)
JRE works slightly different from that of default English-locale in
terms of FileReader or some relevant to XML processing. 

Notwithstanding this hard-to-understand situation, I resolved this
trouble with "enough" new lines at the (almost) every end of closing
tags in xdocs. Therefore, I can show Chinese, Japanese, and Korean
Forresters an alternative: Don't spare typing enters before closing a
tag. For example,

<li>An Item</li>
(Should be valid but invalid in Forrest on Korean JRE)
<li>An Item
(valid in Forrest on Korean JRE)

It's just a piece of recommendation for CJK Forresters (only). I wish it
could help out. 


P.S. Another conclusion: it's not a fault of Forrest. :-)
> -----Original Message-----
> From: Jeff Turner [] 
> Sent: Thursday, November 21, 2002 5:18 PM
> To:
> Subject: Re: [problem] xdocs validator doesn't support Korean 
> characters
> On Thu, Nov 21, 2002 at 04:09:27PM +0900, IAS wrote:
> > I also tried my old site and the result was successful. However, my 
> > current one (you can download it at
> > is different. In 
> > particular, 
> > 
> /ias/src/documentation/content/xdocs/starbucks/2002-1101.xml is turn 
> > out to be valid in jEdit but invalid in Forrest based on the latest 
> > schema files from xml-forrest CVS repository.
> The file validates fine.  Eg, run 'forrest validate -v':
> validate-xdocs:
> Using SAX2 reader org.apache.xerces.parsers.SAXParser
> Validating book.xml... 
> Validating index.xml... 
> Validating sample.xml.example... 
> Validating tabs.xml... 
> Validating book.xml... 
> Validating chinese.xml... 
> Validating index.xml... 
> Validating apple.xml... 
> Validating book.xml... 
> Validating cactus-thorns.xml... 
> Validating cocoon-encounter.xml... 
> Validating homer.xml... 
> Validating index.xml... 
> Validating policenauts.xml... 
> Validating 2002-1101.xml... 
> Validating book.xml... 
> Validating index.xml... 
> 17 file(s) have been successfully validated.
> ...validated xdocs
> > (see /forrest-result.gif and
> > /jEdit-result.gif (status bar) snapshots.)
> The forrest-result.gif shows you have a bad link on line 40.  
> The link is fine in
> --Jeff
> > Thanks.
> > --IAS

View raw message