IO Exception on import of include file when debugging
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 3
- Joined: Mon Nov 01, 2004 7:42 pm
IO Exception on import of include file when debugging
I get the following 2 errors when trying to debug with the enclosed 2 files:
1) SystemID: F:\XML\XSLT\INCLUDE\incJS.xsl
Description: E Had IO Exception with stylesheet file: incFormat.xsl
2) SystemID: F:\XML\XSLT\INCLUDE\incRelatedValidationData.xsl
Description: E Had IO Exception with stylesheet file: incFormat.xsl
in both cases, the recalcitrant line is:
<xsl:import href="incFormat.xsl"/>
What do I do to get the debugger past these errors?

1) SystemID: F:\XML\XSLT\INCLUDE\incJS.xsl
Description: E Had IO Exception with stylesheet file: incFormat.xsl
2) SystemID: F:\XML\XSLT\INCLUDE\incRelatedValidationData.xsl
Description: E Had IO Exception with stylesheet file: incFormat.xsl

in both cases, the recalcitrant line is:
<xsl:import href="incFormat.xsl"/>
What do I do to get the debugger past these errors?

-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
-
- Posts: 3
- Joined: Mon Nov 01, 2004 7:42 pm
Well, that's wierd, because incFormat.xsl is in the same folder F:\XML\XSLT\INCLUDE\ as the importing stylesheets. And I know Oxygen can see it, because if I dbl-clik the filename and use right-mouse menu to "Open file at cursor", it pops the file into an edit window. So, what's the deal? Why can't the debugger find it?
Would it be because the top-level XSL, ie. the one I'm debugging - Formview.xsl - is in the parent folder F:\XML\XSLT? Is it trying to look in that folder instead of the subfolder? If so, then that would be why it can't find it. But I would hope that it's smart enough to look for imports of included files in the same folder as the including files...

Would it be because the top-level XSL, ie. the one I'm debugging - Formview.xsl - is in the parent folder F:\XML\XSLT? Is it trying to look in that folder instead of the subfolder? If so, then that would be why it can't find it. But I would hope that it's smart enough to look for imports of included files in the same folder as the including files...

-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi Ron,
We tried to reproduce this exact behavior but oXygen works ok.
If you contact us on support@oxygenxml.com then we can send you the samples we tested with. Also you may consider sending us more details to allow us reproduce the same behavior.
Best Regards,
George
We tried to reproduce this exact behavior but oXygen works ok.
If you contact us on support@oxygenxml.com then we can send you the samples we tested with. Also you may consider sending us more details to allow us reproduce the same behavior.
Best Regards,
George
-
- Posts: 1
- Joined: Thu Mar 03, 2005 3:47 pm
E Had IO Exception with stylesheet file: config.xsl
Post by rob.driessen »
I experienced the same problem, can you tell me what the solution was for this problem ?
-
- Posts: 3
- Joined: Mon Nov 01, 2004 7:42 pm
Solution to IO Exception with stylesheet file
The problem line in the actual code was this one:
<xsl:import href="include\incFormat.xsl"/>
Notice the backslash instead of the forward slash after "include". The oXygen support team noticed that and replied:
"The import/@href value is a uri-reference, thus you need to use / and not \. See http://www.w3.org/TR/xslt#import for more details."
<xsl:import href="include\incFormat.xsl"/>
Notice the backslash instead of the forward slash after "include". The oXygen support team noticed that and replied:
"The import/@href value is a uri-reference, thus you need to use / and not \. See http://www.w3.org/TR/xslt#import for more details."
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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