Return-Path: Delivered-To: apmail-httpd-docs-archive@httpd.apache.org Received: (qmail 24755 invoked by uid 500); 29 Jul 2002 10:43:01 -0000 Mailing-List: contact docs-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: docs@httpd.apache.org Delivered-To: mailing list docs@httpd.apache.org Received: (qmail 24744 invoked from network); 29 Jul 2002 10:43:01 -0000 Mail-Copies-To: nobody To: docs@httpd.apache.org Subject: Re: manual/style/build.xml References: <3D437929.80002@yahoo.com> <3D4379AA.7060005@yahoo.com> From: Yoshiki Hayashi MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Date: 29 Jul 2002 19:43:00 +0900 In-Reply-To: <3D437929.80002@yahoo.com> (David Shane Holden's message of "Sat, 27 Jul 2002 21:55:05 -0700") Message-ID: <874reihl1n.fsf@u.sanpo.t.u-tokyo.ac.jp> Lines: 51 User-Agent: T-gnus/6.15.3 (based on Oort Gnus v0.03) (revision 06) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N David Shane Holden writes: > Looks like if we rename the files to file.xml-ja.jis and transform it, Xalan > will spit out the correct file extension and we wouldn't need to use > customized jars. > > Looks like if we rename the files to file.xml-ja.jis and transform it, > > Correction.... file.xml-ja.jis should be file.xml-ja Sorry, I'm -1 on this approach. Naming files that way is just working around the limitation of Ant. I'd rather want to enhance Ant or use other tool which can convert file.xml.ja to file.html.ja.jis. Also, Apache HTTP server won't recognize xml-ja as Content-type: text/xml, Content-language: ja. > I just tried with the custom jars and I still get the same error. I'm > wondering if it's an issue with Windows. I actually get two different > errors when I validate and when I transform. The validate error is The cause of the error is the same. Your Java runtime does not understand iso-2022-jp encoding. 0x1b is ESC in US-ASCII and it is the first byte of notorious iso 2022 escape sequence. Sorry, I once saw this error in my environment but I cannot remember how I fixed the problem. I'm using this: % java -version java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3.1-FCS) Java HotSpot(TM) Client VM (build Blackdown-1.3.1-FCS, mixed mode) > [xmlvalidate] > manual/mod/mod_auth.xml.ja:8:15: An invalid XML character (Unicode: 0x1b) > was found in the element content of the document. > > and the transformation error is > > [style] Processing manual\mod\mod_auth.xml.ja to > manual\mod\mod_auth.xml.html.ja.jis > [style] Loading stylesheet manual\style\manual.ja.xsl > [style] Warning: encoding "iso-2022-jp" not supported, using UTF-8 > [style] : Fatal Error! org.xml.sax.SAXParseException: > The encoding "iso-2022-jp" is not supported. > Cause: org.xml.sax.SAXParseException: > The encoding "iso-2022-jp" is not supported. > [style] Failed to process manual\mod\mod_auth.xml.ja -- Yoshiki Hayashi --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org