You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2006/02/20 22:02:54 UTC
DO NOT REPLY [Bug 38725] New: - Error running XSL gives incorrect source location
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38725>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38725
Summary: Error running XSL gives incorrect source location
Product: Fop
Version: 0.91
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P2
Component: general
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: bryan@inspiredsignage.com
Error is given when running attached xsl against attached xml.
Line 8 column 56 seems to refer to the <xsl:call-template
name="IVDA-Page-Layout"> tag in FAQ-Template.xsl, as neither of the other files
have characters at that position. However that isn't much use in determining
where the error is in the incoming xml.
C:\DRIVE_E\New Data\IVDA\Documents>fop -xml "source\faq ivdc.xml" -xsl templates
\faq-template.xsl -foout test.xml
file:///C:/DRIVE_E/New%20Data/IVDA/Documents/templates/faq-template.xsl; Line #8
; Column #56; javax.xml.transform.TransformerException: ElemTemplateElement erro
r: IVDA-Page-Layout
Exception
javax.xml.transform.TransformerException: The element type "answer" must be term
inated by the matching end-tag "</answer>".
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 38725] - Error running XSL gives incorrect source location
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38725>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38725
------- Additional Comments From bryan@inspiredsignage.com 2006-02-20 22:05 -------
Created an attachment (id=17753)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=17753&action=view)
IVDA-Page-Layout.xsl
XSL STYLESHEET
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 38725] - Error running XSL gives incorrect source location
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38725>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38725
------- Additional Comments From bryan@inspiredsignage.com 2006-02-20 22:04 -------
Created an attachment (id=17751)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=17751&action=view)
FAQ IVDC.XML
SOURCE XML
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 38725] - Error running XSL gives incorrect source location
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38725>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38725
j3322ptm@yahoo.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From j3322ptm@yahoo.de 2006-02-21 21:31 -------
Locations are only useful if FOP is feed a FO file. If a XSL transformation is
involved, all bets are off.
Well in this case the XSLT processor could have passed up either the correct
source location, or a null location to indicate it doesn't know anything useful.
In either case, that's a problem with the XSLT processor (file a bug there).
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 38725] - Error running XSL gives incorrect source location
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38725>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38725
------- Additional Comments From a_l.delmelle@pandora.be 2006-02-20 22:28 -------
Sorry, I don't quite get the bug... at least not from FOP's pov
Took a quick look at the attached files, and somewhere in the source xml, there is:
<question><text>What are the costume restrictions at the IVDC?</text>
<answer>....</answre>
</question>
Explains the error, just as it says.
Is this a question of the XSLT processor passing us wrong location info, or are we setting/retrieving it
wrongly?
Anyone?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 38725] - Error running XSL gives incorrect source location
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38725>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38725
------- Additional Comments From bryan@inspiredsignage.com 2006-02-20 22:30 -------
May well be the xsl processor - the location given is the location in the xsl,
not in the source xml.
Bryan
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 38725] - Error running XSL gives incorrect source location
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38725>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38725
------- Additional Comments From bryan@inspiredsignage.com 2006-02-20 22:05 -------
Created an attachment (id=17752)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=17752&action=view)
FAQ-Template.xsl
XSL STYLESHEET
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.