HI Paul,

The problem with writing to files on Win95 and Win98 is something we'ed
like to fix, but don't have a machine with Win95 on it for testing.  If you
want to help debug it, please contact me privately, and we can arrange
something in which I send you a custom-built debugging DLL so we can
finally fix the problem.  I did do something which I thought would do the
trick, and someone reported that it worked, but it turned out not to be the
case.  A work-around to get file output is to redirect to a file.

As far as the docbook warning is concerned -- that's coming directly from
docbook, through xsl:message, so I'm not sure what's going on.  Can you
create a bug report in bugzilla and attach your document to the report?  If
there's a problem with public distribution of the document, you can send it
to me privately, or you can remove any sensitive content, as long as I can
still use it to reproduce the problem.

Also, I just checked in a fix so xsl:message will report the correct
line/column and URL.

Here's a pointer to buzilla:

   http://nagoya.apache.org/bugzilla/index.html

Dave



                                                                                
                                                      
                      Paul Johnson                                              
                                                      
                      <[EMAIL PROTECTED]         To:      
[email protected]                                                  
                      .net>                    cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                          
                                               Subject: Current status of Xalan 
1.3 and DocBook 4?                                    
                      03/08/2002 06:19                                          
                                                      
                      AM                                                        
                                                      
                                                                                
                                                      
                                                                                
                                                      



Hi, I've just joined this list and had a look through the mail archives
before posting this.

Does anyone know the *current* status of Xalan with respect to DocBook? We
are trying to introduce DocBook into our organisation and jumped at the
chance to try Xalan 1.3 (and associated software) to (i) validate our
DocBook XML files and (ii) translate them to HTML/PDF.

I downloaded and installed the Xalan 1.3 (& related Xerces) binaries for
Windows. Nearly all of our WinPCs are running Win95 OSR2 (we didn't buy
into the MS upgrade path) - which I later discovered you do not support
when I went looking through the mail archives for references to errors when

writing an output file.

Nevertheless, for the time being we continued our experiments with Xalan
using a number of simple DocBook XML (v4.1.2) transformations with very
basic XSL files, writing the output to console rather than to file. Things
seemed okay.

So the big test. We downloaded Norman Walsh's DocBook XSL v1.49 and tried
Xalan on some of our DocBook XML files (previously validated by other XML
validators). It didn't work, we got screenfuls of warnings of the following

format:-

XSLT warning: No localization exists for "en" or "". Using default "en".,
style tree node: xsl:message, source tree node: <docbook tag here> (, line
-1, column -1)

We used the following at the command prompt (actually in a batch file)
whose format worked okay when we didn't reference the DocBook XSL:-

set
PATH=PATH;d:\xml\xml-xalan\c\Build\Win32\VC6\Release;d:
\xml\xml-xerces\c\bin
cd D:\xml
xalan -o ourdoc.html ourdoc.xml
d:\xml\docbook\docbook-xsl-1.49\xhtml\docbook.xsl

Am I missing something, is more setting up of the DocBook XSL files
required? Or is it a Win95 problem (in which case we've had it until we can

purge the organisation of all WinPCs - which isn't gonna happen anytime
soon!)? Until I can prove the tool works under Windows there is no point in

testing the tools under Linux (which is on a minority of our machines).

Thanks (in anticipation of your help - cross fingers)
Paul Johnson



Reply via email to