Bug 115560

Summary: XSLT error in validation in the themes application
Product: [Retired] Red Hat Enterprise CMS Reporter: Arturo Dell <arturo.dell>
Component: APLAWSAssignee: ccm-bugs-list
Status: CLOSED WONTFIX QA Contact: Daniel Berrangé <berrange>
Severity: medium Docs Contact:
Priority: medium    
Version: nightly   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-03 14:30:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Arturo Dell 2004-02-13 15:44:56 UTC
Iâve been testing the XSLT theme validation, which works, but with 
one small bug

Iâve created intentional errors in the XSLT files but the Error 
Message always points to the file/line number that is importing the 
file with the error in it, rather than the file itself/line.

The nature of the bug itself is reported correctly.

eg.
I mis-spelt <div> as <divse> in:

[theme-name]/types/fileStorageItem.xsl, which is imported by line 15 
of [theme-name]/types/ContentTypes.xsl

Error Messages:

1.http://194.202.210.43:9005/resource/ccm-ldn-theme/__ccm__/themes-
dev/camden-aplaws/types/ContentTypes.xsl:15: 

Message From Original Exception:The element type "divse" must be 
terminated by the matching end-tag "</divse>". 

2.http://194.202.210.43:9005/resource/ccm-ldn-theme/__ccm__/themes-
dev/camden-aplaws/types/ContentTypes.xsl:15: 

Message From Original Exception:The element type "divse" must be 
terminated by the matching end-tag "</divse>".


Similarly I made a bug in /lib/leftNav.xsl which is imported by line 
15 of content-section-index.xsl and got an error pointing to file 
content-section-index.xsl:15 rather than /lib/leftNav.xsl