Search found 45 matches

by fsteimke
Fri Jan 25, 2019 8:43 am
Forum: Common Problems
Topic: Schematron complains about AVT for xml:id Attribute
Replies: 7
Views: 755

Re: Schematron complains about AVT for xml:id Attribute

Hi Octavian, ok, i see the problem. This is interesting. I was wrong assuming that schematron complains the AVT. It is, in fact, the Saxon engine which complains about the XSLT Stylesheet which results from compilation of Schematron as beeing invalid XML. Attribute value templates are defined in sec...
by fsteimke
Thu Dec 27, 2018 6:01 pm
Forum: Common Problems
Topic: Schematron complains about AVT for xml:id Attribute
Replies: 7
Views: 755

Re: Schematron complains about AVT for xml:id Attribute

Hi Radu, i tried to reproduce on another computer (but same Oxygen Version, i think) and failed at first. The error appeared again when i checked the "Use Saxon-EE (schema-aware) for xslt2 query language binding" option in XML / XML Parser / Schematron. Since the XSLT Script does not compile (when t...
by fsteimke
Sat Dec 22, 2018 7:18 am
Forum: Common Problems
Topic: Schematron complains about AVT for xml:id Attribute
Replies: 7
Views: 755

Re: Schematron complains about AVT for xml:id Attribute

Sorry, i forgot the info about Oxygen Version and Environment:
<oXygen/> XML Editor 20.1, build 2018061313 with Windows 10

Frank Steimke
by fsteimke
Fri Dec 21, 2018 10:15 am
Forum: Common Problems
Topic: Schematron complains about AVT for xml:id Attribute
Replies: 7
Views: 755

Schematron complains about AVT for xml:id Attribute

Hi, i am writing an XSLT 3.0 stylesheet for documentation (in docbook) of relax ng grammars. There is a function called rng:define-id (rng:define) which computes, for a given rng:define element, the value of the corresponding id attribute. The function has this signature: <xsl:function name="rng:def...
by fsteimke
Fri Apr 13, 2018 9:38 am
Forum: Common Problems
Topic: xml:id type error with schema-aware Schematron
Replies: 1
Views: 643

xml:id type error with schema-aware Schematron

Hi all, in my project i need schema-aware schematron for checking consistency of some files, so i turned on the "Use Saxon EE (schema-aware) schematron for xslt2 / xslt3 language binding" option in the project preferences. Doing so leads to error messages when validating one of my xslt scripts. This...
by fsteimke
Wed Jan 17, 2018 7:41 am
Forum: Common Problems
Topic: Possible Bug with typed variable in schema-aware XSLT
Replies: 2
Views: 1036

Solved: Bug with typed variable in schema-aware XSLT

Turned out to be a saxon bug. See https://saxonica.plan.io/issues/3628 : When Saxon validates an element against a complex type with simple content (specified in this case using xsl:type on a literal result element), the resulting type annotation is the simple (content) type, not the complex type. H...
by fsteimke
Tue Jan 16, 2018 8:55 am
Forum: Common Problems
Topic: Possible Bug with typed variable in schema-aware XSLT
Replies: 2
Views: 1036

Named template is fine

Further observation: when i switch from applied template to a named template , there is no runtime error anymore. <xsl:template name='t1' as="element(tns:t, tns:T)"> <tns:t xsl:type="tns:T"> <xsl:attribute name="id" select="concat('t-', count(preceding-sibling::*) + 1)"/> <xsl:value-of select="."/> ...
by fsteimke
Sun Jan 14, 2018 3:06 pm
Forum: Common Problems
Topic: Possible Bug with typed variable in schema-aware XSLT
Replies: 2
Views: 1036

Possible Bug with typed variable in schema-aware XSLT

Hi, we have a strange error in a complex schema-aware XSLT script. I tried to boil it down to a simple example. Environment is Windows 10 and <oXygen/> XML Editor 19.1, build 2017092911 We get an error message complaining about wrong types, which seems to be a bug. It occurs only when we use a typed...
by fsteimke
Fri Dec 22, 2017 7:09 pm
Forum: Common Problems
Topic: XSL try/catch does not prevent runtime error in Oxygen
Replies: 4
Views: 1102

Re: XSL try/catch does not prevent runtime error in Oxygen

Hi Radu,

sorry, i forgot. It was 19.0 an Windows 10 32 bit. Same thing after upgrading to 19.1. I will send the whole project to the support address.

Thanks,
Frank
by fsteimke
Fri Dec 22, 2017 1:09 pm
Forum: Common Problems
Topic: XSL try/catch does not prevent runtime error in Oxygen
Replies: 4
Views: 1102

XSL try/catch does not prevent runtime error in Oxygen

Hi all, i have a very simple XSLT transformation data.xsl. Inside, a boolean attribute is calculated as a comparison of a given value timestamp against current-dateTime. So timestamp has to be of type xs:dateTime. Transformation will fail with a runtime error if the input document is not validatend ...
by fsteimke
Fri May 12, 2017 8:33 am
Forum: Common Problems
Topic: Sequence of strings as a paramater value
Replies: 3
Views: 908

Solved: Sequence of strings as a paramater value

Hi Adrian, yes it works. Thank you. I always thougt that xpath is only mode for the hierarchic addressing of the nodes in an XML tree. Thats why i did not care about the checkbox in this case. But in fact it is an expression language that allows the processing of values conforming to the data model ...
by fsteimke
Thu May 11, 2017 8:37 am
Forum: Common Problems
Topic: Sequence of strings as a paramater value
Replies: 3
Views: 908

Sequence of strings as a paramater value

Hi, how can i specify a sequence of strings as a Parameter value in a Transformation Scenario? In my XSL transformation i have declared a global Parameter of type xs:string* with a default value: <xsl:param name="profile.audience" as="xs:string+" select="('intern', 'expert')"/> The number of items i...
by fsteimke
Fri Aug 19, 2016 8:22 am
Forum: XML Schemas
Topic: Can override add constraints?
Replies: 1
Views: 1424

Can override add constraints?

Hi, i would like to add some new Elements on a document instance. Before the Transformation, the instance is valid to Schema A where the new Elements are not known. Afterwards it is valid to a Schema B which is similar to A, but the new Elements are known and required. To do so, i have designed Sche...
by fsteimke
Fri Aug 05, 2016 6:58 am
Forum: Common Problems
Topic: Bugs in CALS Table processing ?
Replies: 10
Views: 2859

Re: Bugs in CALS Table processing ?

Yes, everthing is fine with the latest release 18.1.

Thank you,
Frank
by fsteimke
Thu Aug 04, 2016 8:35 am
Forum: Common Problems
Topic: Bugs in CALS Table processing ?
Replies: 10
Views: 2859

Re: Bugs in CALS Table processing ?

Hi, i think there is an issue with the validation of CALS tables. I get errors for tables which are correct. I have a CALS Table in my DocBook 5.0 file like this: <table version="5.0" xmlns="http://docbook.org/ns/docbook" > <info> <title>Aufgaben und Zuständigkeiten der Betreiber</title> </info> <tg...
by fsteimke
Thu Jul 28, 2016 10:52 am
Forum: Feature Request
Topic: Use XML Catalog Files within Delta XML PlugIn
Replies: 2
Views: 1288

Use XML Catalog Files within Delta XML PlugIn

Hi, we are using the Delta XML "DocBook Compare" Produkt from Oxygen with the DeltaXML Add-On. Today i tried to compare two files which make use of external entities. These are included with virtual URLs, which are resolved by the xml catalog file, declared at the project level. The files are valid ...
by fsteimke
Mon Mar 28, 2016 1:35 pm
Forum: Common Problems
Topic: fold-left signature wrong in tooltip
Replies: 1
Views: 731

fold-left signature wrong in tooltip

Hi, when in insert the xpath function fold-left in my code, Oxygen gives me a tooltip with the wrong signature. It says: fold-left(function, zero, sequence). The XPath Specification and the Saxonica Specification both say: fold-left (sequence, zero, function). Parameter 1 and 3 are switched. Sincerl...
by fsteimke
Sat Nov 28, 2015 11:53 am
Forum: Common Problems
Topic: Duplication of Transformation Scenario leads to Errors
Replies: 5
Views: 1054

Re: Duplication of Transformation Scenario leads to Errors

Hi Radu sorry for the delay, i was away from my equipment for some days. I do admit that my project and my framework is cluttered. I will read your hints and advices carefully to clean it up. It started as a project, and became a framework afterwards. On the other hand, there is kind of a bug with t...
by fsteimke
Tue Nov 24, 2015 9:17 am
Forum: Common Problems
Topic: Duplication of Transformation Scenario leads to Errors
Replies: 5
Views: 1054

Re: Duplication of Transformation Scenario leads to Errors

Hi Costin, i have full access rights for the framework directory. When i tried to reproduce the bug (after reading your reply) i was not allways successfull. It was strange. Is it possible that it makes a difference whether i start Oxygen with a projekt (which reproduced the error) or start with ano...
by fsteimke
Sun Nov 22, 2015 3:21 pm
Forum: Common Problems
Topic: Duplication of Transformation Scenario leads to Errors
Replies: 5
Views: 1054

Duplication of Transformation Scenario leads to Errors

Hi, i have made my own document type called "einzelabruf" as a framework at the global level. There is a directory called "einzelabruf" in the OXYGEN_HOME/frameworks directory. My framework is an extension of the DocBook 5 framework. Everything is fine so far. (By the way, extension of existing fram...
by fsteimke
Wed Aug 12, 2015 8:35 am
Forum: Common Problems
Topic: Runtime Errors from parse-xml not catched
Replies: 5
Views: 1597

Runtime Errors from parse-xml not catched

Hi, i have to parse strings with escaped markup, contained in the @body attribute of an ownedComment Element. An example woud be @body='<p>test</p>' In order to deal with parser errors, which could be caused by typos in the string above, i'd like to use the new try/catch mechanism of XSLT 3. So i wr...
by fsteimke
Sat Apr 04, 2015 7:07 am
Forum: Common Problems
Topic: Format Document changes the include Path
Replies: 2
Views: 1108

Format Document changes the include Path

Hi all, i hava a DocBook Customization Layer written in Relax NG (compact syntax). It starts with an include of the Original DocBook Grammar. I am working with Catalog Files. My customization layer starts like this: include "http://docbook.org/5.0/rng/docbookxi.rnc" { My Catalog File maps the virtua...
by fsteimke
Mon Jan 19, 2015 7:22 pm
Forum: Common Problems
Topic: Suggested function name is wrong when a default namespace is
Replies: 3
Views: 1242

Re: Suggested function name is wrong when a default namespac

Hi Adrian, i am using oxygen 16.1 build 2014100319 on windows 7. And yes, i am referring to user-defined functions. I tried to boil it down to a simple example and i failed, as you did. So i tried to reproduce it with my production files and that worked. Same error as i wrote in my first mail. I am ...
by fsteimke
Sat Jan 17, 2015 3:07 pm
Forum: Common Problems
Topic: Suggested function name is wrong when a default namespace is
Replies: 3
Views: 1242

Suggested function name is wrong when a default namespace is

Hi, i have a user defined function called db:empty-element($e). It is defined in a file where the namespace db is defined as xmlns:db="http://docbook.org/ns/docbook". This is also the default namespace in this file, set by the xpath-default-namespace attribute. This File is xs:included in another fi...
by fsteimke
Tue Jan 06, 2015 12:11 am
Forum: Common Problems
Topic: docbook, xhtml and absolute filenames for images
Replies: 5
Views: 1860

Re: docbook, xhtml and absolute filenames for images

Hi Folks,

the bug in the DocBook Stylesheet has been fixed, see http://sourceforge.net/p/docbook/bugs/1336/.

Sincerely,
Frank
by fsteimke
Tue Jan 06, 2015 12:04 am
Forum: Common Problems
Topic: Check Relax NG Grammar with Schematron?
Replies: 5
Views: 1766

Re: Check Relax NG Grammar with Schematron?

Thank you Radu for this quick and extensive answer.

I tried the first alternative, and it works very well. Exactly what i was looking for.

Sincerely,
Frank
by fsteimke
Mon Jan 05, 2015 10:45 am
Forum: Common Problems
Topic: Check Relax NG Grammar with Schematron?
Replies: 5
Views: 1766

Check Relax NG Grammar with Schematron?

Hi, i have a Relax NG Schema, that is, a grammr Element in the http://relaxng.org/ns/structure/1.0 namespace. I would like to check wheter al elements defined in this grammar are properly documented. So i wrote a schematron Schema which reports all elements without a a:documentation child. However, ...
by fsteimke
Wed Oct 08, 2014 1:08 pm
Forum: Common Problems
Topic: Warnings from SAXON are not displayed
Replies: 6
Views: 1982

Re: Warnings from SAXON are not displayed

Hi,

as far as i can see, it it still the same in 16.1 as before, right?

Sincerely,
Frank
by fsteimke
Sat Oct 04, 2014 11:14 am
Forum: Feature Request
Topic: Smart edit in xstl stylesheets based on schema components
Replies: 3
Views: 2020

Smart edit in xstl stylesheets based on schema components

Hi, on of the great features of Oxygen is smart edit within xslt scripts based on the structure of document instances. Lets say i have a document instance with root element a and childs b and c. Then, for a template that matches /a, the xslt editor will suggest childs b and c in apply-template rules...
by fsteimke
Tue Sep 23, 2014 3:14 pm
Forum: Common Problems
Topic: Chaining transformations
Replies: 7
Views: 1935

Re: Chaining transformations

Hi Frank,

another possibility would be the use of xproc. As far as i understand, it is designed for the "chaining of transformations", so it should fit to your needs. And it is supported by Oxygen, of course.

Did you ever give it a try?

regards,
Frank Steimke