Search found 12 matches

by Richard_Wood
Mon Jul 10, 2017 11:37 pm
Forum: Common Problems
Topic: ouput.log is in protected folder
Replies: 5
Views: 1060

Re: ouput.log is in protected folder

:D Solved, Thanks Adrian! We finally had this issue re-occur and were able to track down the issue. We opened a CMD window on our PC, changed directory to the Oxygen bin folder: "C:\Program Files\Oxygen XML Editor 18" then started Oxygen using oxygen.bat When the error occurred, the messag...
by Richard_Wood
Fri Mar 03, 2017 7:25 pm
Forum: XSLT and FOP
Topic: document() returning empty string
Replies: 2
Views: 1203

Re: document() returning empty string

Adrian, Thank-you for the reply and assistance :D Not sure how I got that messed up now that I look back at my Schematron files with your tip in mind. <sch:let name="registryXmlFilename" value="document($path)"/> Clearly I was doing a different and wrong thing in my stylesheet: <...
by Richard_Wood
Fri Mar 03, 2017 3:21 am
Forum: Common Problems
Topic: ouput.log is in protected folder
Replies: 5
Views: 1060

Re: ouput.log is in protected folder

Alex, Thank-you for the reply. I am clear on what you mean by most of your post. I did go to Options->Preferences, on page Document Type Association / Locations and fiddle around a bit, but ultimately went back to using the Default value. Then, much to my frustration, the problem vanished. But it wa...
by Richard_Wood
Fri Mar 03, 2017 1:58 am
Forum: XSLT and FOP
Topic: document() returning empty string
Replies: 2
Views: 1203

document() returning empty string

I use the document() function successfully and often in my Schematron work. I am now trying to use it in an xsl:stylesheet to obtain a value from an external XML file, hosted on a REST web interface. I have created a simple example to use in this post so that I can hopefully demonstrate all of the c...
by Richard_Wood
Thu Mar 02, 2017 2:46 am
Forum: Common Problems
Topic: ouput.log is in protected folder
Replies: 5
Views: 1060

ouput.log is in protected folder

"Schematron validation should not write on disk. It tried to write to: C:\Program Files\Oxygen XML Editor 18\output.log. This is not allowed for security reasons." I am getting the message above currently when trying to run a Schematron validation (which I have been successful at running 1...
by Richard_Wood
Fri Sep 16, 2016 1:58 am
Forum: XML Schemas
Topic: using variables in test property with matches
Replies: 1
Views: 1407

using variables in test property with matches

I would like to define a set of regular expressions as variables at the top of a pattern, then use them in various combinations on multiple rule elements. I want to use them in the test property of assert and report elements. I get different results when I try to use these variables and when I use t...
by Richard_Wood
Thu Jun 30, 2016 11:59 pm
Forum: XML Schemas
Topic: normalize-space function inconsistent results
Replies: 1
Views: 1240

normalize-space function inconsistent results

Can anyone explain why I get different results from normalize-space, depending on how I use it? In one case it works as expected, in the other case it leaves a space on the end of the value: Source data contains: <dataProvider> MTY-MITAC </dataProvider> <sch:let name="refValue" value="...
by Richard_Wood
Fri May 13, 2016 7:58 pm
Forum: XML Schemas
Topic: Unable to use variable in href for sch:include
Replies: 1
Views: 1350

Unable to use variable in href for sch:include

I am trying to make our schema's easier to use on mirrored/chached sites with multiple different URLs. I realized that one way to do this might be to use relative path hrefs. I am trying to use a variable, that could be set once in a schema, essentially a $baseURL variable, then to use that in the h...
by Richard_Wood
Mon Apr 18, 2016 8:17 pm
Forum: XML Schemas
Topic: Schematron - using variables in XPATH
Replies: 2
Views: 2615

Re: Schematron - using variables in XPATH

Thank-you Octavian, I have now resolved all of my issues (I only documented one) based on your corrections and confidence that what I was trying to do was in fact possible. I am particularly pleased to have this schema working. We have many complex validations which will involve multiple elements an...
by Richard_Wood
Fri Apr 15, 2016 1:10 am
Forum: XML Schemas
Topic: Schematron - using variables in XPATH
Replies: 2
Views: 2615

Schematron - using variables in XPATH

Hello, I am trying to create a variable ($refValue) using XPATH to capture a value from an XML file that I ultimately want to validate. Then I want to use that variable along with a variable created using the document() function (which references an external XML file), apended with an XPATH to captu...
by Richard_Wood
Wed Jan 13, 2016 7:10 pm
Forum: XML Schemas
Topic: Oxygen / Schematron using wrong schema
Replies: 2
Views: 1597

Re: Oxygen / Schematron using wrong schema

Octavian, Thank-you very much for identifying this. I deselected "Use Saxon EE (schema aware) for xslt2/xslt3 query language binding" on the Preferences=>XML=>XML Parser=>Schematron menu and it solved the problem! I will have a much better day today than yesterday :-) Thanks again! Rich
by Richard_Wood
Wed Jan 13, 2016 1:49 am
Forum: XML Schemas
Topic: Oxygen / Schematron using wrong schema
Replies: 2
Views: 1597

Oxygen / Schematron using wrong schema

Oxygen / Schematron using wrong schema. I am experiencing different results than another user in my group running the same test with the same files. Therefore I suspect this is a Preferences setting. I first experienced this issue after upgrading from Oxygen 16.1 to 17.1 (the version the other perso...

Go to advanced search