This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

problems with xalan c++ - who to tell


Can someone tell me how to report problems with Xalan/Xerces? So far
as I can tell from the web site, there are just mailing lists, which I
dont have time to join. Is there a general bug reporting address? I
have tried xalan-dev@apache.org, is that right?

If anyone from Xalan/Xerxes is listening, consider the document

 <!DOCTYPE TEI.2 SYSTEM "http://www.oucs.ox.ac.uk/dtds/tei-oucs.dtd">
 <TEI.2/>

and the XSL file

 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   version="1.0">

 <xsl:template match="/">
  <xsl:message>hello</xsl:message>
 </xsl:template>
 </xsl:stylesheet>

Xerces by itself says

  [spqr]/tmp:~/XML/bin/DOMCount x.xml 

  Error at file /tmp/x.xml, line 2, char 9
   Message: Element 'TEI.2' is not valid for content model: '(teiHeader,text)'

  Errors occured, no output available

which is correct. Apply the XSL file with Xalan, which uses the same
parser, and you get:

  [spqr]/tmp:~/XML/bin/testXSLT -validate -IN x.xml -XSL x.xsl 
  ========= Parsing x.xsl ==========
  
  Error at (file x.xsl, line 1, char16): Unknown element 'xsl:stylesheet'
  Parse of x.xsl took 10 milliseconds
  ========= Parsing x.xml ==========
  
  Fatal Error at (file http://www.oucs.ox.ac.uk/dtds/tei-oucs.dtd,
  line 137, char22): An exception occured!
  Type:IllegalArgumentException, Message:String pool id was not legal
  Segmentation fault
  
whatever is the error in the DTD file all about???? the relevant line
in the DTD is unexceptional.

I'd really like to get to the bottom of this.

Sebastian

PS if Xalan are also interested, this

 <xsl:value-of select="system-property('xsl:url')"/>

generates

 SAXException Message is : ElemTemplateElement error: Cannot resolve
 namespace prefix: xsl

which is plainly not right

spqr


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]