New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 5 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Compat



Sign in to add a comment
link

Issue 45939: XSLT pages wont render if the XSL doesn't have an xmnls attribute.

Reported by mhm@chromium.org, Jun 5 2010 Project Member

Issue description

The examples online and within the XSLT spec, it doesn't state that it must 
require an "xmnls" attribute http://www.w3.org/TR/xslt

From looking at the simple example 
http://www.w3schools.com/xsl/tryxslt.asp?
xmlfile=cdcatalog&xsltfile=cdcatalog, they use JavaScript to render the 
XSLT on the web page, which works perfectly. But it shouldn't be like that, 
as a user, we just visit the XML file and it should render.

According the the spec, the xsl:stylesheet can be:
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 

But that will result in a blank page, if we add xmlns="" attribute there, 
it works just fine.
 
cdcatalog.xml
4.7 KB View Download
cdcatalog.xsl
620 bytes View Download

Comment 1 by mhm@chromium.org, Jun 5 2010

Status: Available

Comment 2 by karen@chromium.org, Jun 22 2010

Labels: Mstone-X

Comment 3 by lafo...@chromium.org, Mar 23 2011

Labels: -Area-Compat-Web bulkmove Area-Compat

Comment 4 by bugdroid1@chromium.org, Mar 10 2013

Project Member
Labels: -Type-Bug -Area-Compat Type-Compat

Comment 5 by tkent@chromium.org, Aug 7 2013

Labels: Cr-Blink-XML

Comment 6 by dominicc@chromium.org, Apr 13 2016

Labels: -Mstone-X mstone-X
Owner: dominicc@chromium.org
Status: WontFix (was: Available)
This is working; it looks like it has been fixed in the interim. If I edit cdcatalog.xsl to remove the xmlns="" I get the same rendering, a nice table.
Screenshot from 2016-04-13 14:22:27.png
17.8 KB View Download

Sign in to add a comment