Search found 16 matches

by Richard_Wood
Tue Aug 10, 2021 7:20 pm
Forum: Common Problems
Topic: uriStartString format
Replies: 5
Views: 1133

Re: uriStartString format

Thank-you Tavy,

Yes, it would be nice to have software kept up to date.

In the meantime, we do have a solution working using a solution similar to yours, but using "urn:" instead of "file:///".

Thank-you very much for your support!

Regards,

Rich
by Richard_Wood
Mon Aug 09, 2021 9:50 pm
Forum: Common Problems
Topic: uriStartString format
Replies: 5
Views: 1133

Re: uriStartString format

Tavy, Just one more try, sorry that I am not seeing our issue. I am running: XML Editor 18.0, build 2016042012 I went back and tried to replicate your example: I created an instance: C:\Users\nm040a\Desktop\junk\catalog_example.xml <?xml version="1.0" encoding="UTF-8"?> <root xml...
by Richard_Wood
Mon Aug 09, 2021 8:00 pm
Forum: Common Problems
Topic: uriStartString format
Replies: 5
Views: 1133

Re: uriStartString format

Tavy, I was asked to mention that we are using v18.1 of Oxygen. Other than that, it must be something in our Options/Preferences that is off I suppose. Thanks for checking on this. If you have any other thoughts of where we could look for something improperly set, please don't hesitate. In the meant...
by Richard_Wood
Sun Aug 08, 2021 8:21 pm
Forum: Common Problems
Topic: uriStartString format
Replies: 5
Views: 1133

uriStartString format

We are trying to create a rewriteURI entry in our XML Catalog. The substitution isn't occurring with our current entry. In all examples that I have viewed, the uriStartString begins with one of several prefixes like: http://, file:///, urn:someName... In our case, we have the following: <rewriteURI ...
by Richard_Wood
Mon Jul 10, 2017 11:37 pm
Forum: Common Problems
Topic: ouput.log is in protected folder
Replies: 5
Views: 2877

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: 4272

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: 2877

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: 4272

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: 2877

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: 3131

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: 2712

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: 2806

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: 5838

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: 5838

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: 3105

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: 3105

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...