can't get -it parameter to work?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 269
- Joined: Sat Jul 10, 2010 4:03 pm
can't get -it parameter to work?
Version 14, Linux
I'm processing a non-xml file into an xml file.
Using the unparsed-text(filename) function.
I have a named template I want to call when I execute the script. I'm trying to run it in the debugger using the -it parameter.
my template
<xsl:template match="/" name="main" mode="#all">
I have "main" entered into the "Template ("-it"): box
when I step into the script I get the debugger errors, F Content not allowed in prolog
Which indicates the editor is passing the name of the document to saxon using he -s parameter, but I can't finds a way to tell it not too?
I'm processing a non-xml file into an xml file.
Using the unparsed-text(filename) function.
I have a named template I want to call when I execute the script. I'm trying to run it in the debugger using the -it parameter.
my template
<xsl:template match="/" name="main" mode="#all">
I have "main" entered into the "Template ("-it"): box
when I step into the script I get the debugger errors, F Content not allowed in prolog
Which indicates the editor is passing the name of the document to saxon using he -s parameter, but I can't finds a way to tell it not too?
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: can't get -it parameter to work?
Hi,
Note that the XSLT debugger is designed to use an XML input (see the XML combo from the toolbar). If you're not actually using the XML input, please open and select a dummy XML file (any XML well-formed file will do). If you are currently using a non-XML file as the XML input, it will fail with "F Content not allowed in prolog".
Regards,
Adrian
Note that the XSLT debugger is designed to use an XML input (see the XML combo from the toolbar). If you're not actually using the XML input, please open and select a dummy XML file (any XML well-formed file will do). If you are currently using a non-XML file as the XML input, it will fail with "F Content not allowed in prolog".
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 269
- Joined: Sat Jul 10, 2010 4:03 pm
Re: can't get -it parameter to work?
Yes I figured out that work around for the bug in your UI.
Buts its not good enough. To properly debug a script I need to call it like it is called "in the wild". Supplying the -s option to the script in the debugger is not the same as not supplying it when I use it in production.
I need a way to not supply the -s option when debugging a script.
Please enter this as a bug or flaw in the debugger UI.
thanks,
Scott
Buts its not good enough. To properly debug a script I need to call it like it is called "in the wild". Supplying the -s option to the script in the debugger is not the same as not supplying it when I use it in production.
I need a way to not supply the -s option when debugging a script.
Please enter this as a bug or flaw in the debugger UI.
thanks,
Scott
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: can't get -it parameter to work?
Hi,
You are right, I see that the transformation scenarios allow the XML to be omitted if an initial template is specified, but the XSLT debugger does not.
I've logged this problem to our issue tracking tool to be resolved in a future version.
Regards,
Adrian
You are right, I see that the transformation scenarios allow the XML to be omitted if an initial template is specified, but the XSLT debugger does not.
I've logged this problem to our issue tracking tool to be resolved in a future version.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service