You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by xa...@xml.apache.org on 2004/10/18 19:51:51 UTC
[jira] Commented: (XALANJ-1954) version="" is fatal error when output method is HTML
The following comment has been added to this issue:
Author: Brian Minchau
Created: Mon, 18 Oct 2004 10:51 AM
Body:
version="" does not specify a valid nmtoken, so the error message is valid. If we had something like version="123.456" then we could default to "4.0" because version "123.456" is not supported.
But this is not a valid nmtoken as is indicated in section 16 of the XSLT 1.0 recommendation.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/XALANJ-1954?page=comments#action_54313
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XALANJ-1954
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XALANJ-1954
Summary: version="" is fatal error when output method is HTML
Type: Bug
Status: Unassigned
Priority: Major
Project: XalanJ2
Components:
Xalan-interpretive
parse-or-compile
Versions:
2.6
Assignee:
Reporter: elharo
Created: Sun, 19 Sep 2004 5:35 PM
Updated: Mon, 18 Oct 2004 10:51 AM
Description:
Xalan fails OASIS XSLT test case Output__84306. libxslt handles it:
~/Projects/XOM/data/oasis-xslt-testsuite/TESTS/MSFT_Conformance_Tests/Output$ xsltproc 84306.xsl 84306.xml
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<xslTutorial>
<text size="H1">Header1</text>
</xslTutorial>
~/Projects/XOM/data/oasis-xslt-testsuite/TESTS/MSFT_Conformance_Tests/Output$ java -Xbootclasspath/p:/opt/xalan-j_2_6_0/bin/xalan.jar -classpath /opt/xalan-j_2_6_0/bin/xalansamples.jar:/opt/xalan-j_2_6_0/bin/xercesImpl.jar org.apache.xalan.xslt.Process -IN 84306.xml -XSL 84306.xsl
file:///Users/elharo/Projects/XOM/data/oasis-xslt-testsuite/TESTS/MSFT_Conformance_Tests/Output/84306.xsl; Line #3; Column #39; XSLT Error (javax.xml.transform.TransformerConfigurationException): javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Illegal value: used for NMTOKEN attribute: version
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org