Search found 80 matches

by fsteimke
Thu Nov 12, 2020 7:56 am
Forum: Common Problems
Topic: Unable to insert valid Element in Author Mode
Replies: 3
Views: 1387

Unable to insert valid Element in Author Mode

Hi, i have a Relax NG Schema for simple XML Documents (compact Syntax). It includes an optional sequence of two elements called laenge and fixed-length, so that either they have to appear both or none of them. The relevant part of the schema looks like this: element db:ist-hinweis { xsd:boolean }, (...
by fsteimke
Wed Sep 09, 2020 7:37 pm
Forum: Common Problems
Topic: XML Catalog does not work for CSS import
Replies: 2
Views: 1139

Re: XML Catalog does not work for CSS import

Hi Radu,

thanks for the explanation. It works well, i will ignore the error message.

Thanks,
Frank
by fsteimke
Wed Sep 09, 2020 7:09 am
Forum: Common Problems
Topic: XML Catalog does not work for CSS import
Replies: 2
Views: 1139

XML Catalog does not work for CSS import

Hi, the Oxygen Help System says that the XML Catalog will be used for CSS Imports. However, i have this entry in my catalog file (XML Catalog 1.1): <uri name="http://docbook.org/docbook.css" uri="file:///c:/Program%20Files/Oxygen%20XML%20Editor%2022/frameworks/docbook/css/docbook.css&...
by fsteimke
Mon Jan 27, 2020 6:29 pm
Forum: Feature Request
Topic: Support for the Arrow Operator in XPath 3.1
Replies: 2
Views: 1756

Support for the Arrow Operator in XPath 3.1

Hi, XPath 3.1 has the arrow operator. It allows function chaining like f(x) => g() instead of g(f(x)). When i select the g() function in the example above, and choose Go to Definition in the context menu in Oxygen, then there is a No Definition found Error. I think Oxygen is looking for an 0-arity f...
by fsteimke
Tue Aug 20, 2019 4:10 pm
Forum: Common Problems
Topic: Invalid elements suggested (DocBook / Relax NG)
Replies: 1
Views: 1054

Invalid elements suggested (DocBook / Relax NG)

Hi, writing a docbook 5 file, i found a strange behaviour with the Content Completion Assistent . I wanted to insert a new element within an empty caption element. The Content Completion Assistent suggested inline Elements like abbrev or emphasis , which is wrong. Following this suggestion immediatl...
by fsteimke
Fri Jan 25, 2019 8:43 am
Forum: Common Problems
Topic: Schematron complains about AVT for xml:id Attribute
Replies: 7
Views: 3475

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

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 compi...
by fsteimke
Sat Dec 22, 2018 7:18 am
Forum: Common Problems
Topic: Schematron complains about AVT for xml:id Attribute
Replies: 7
Views: 3475

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

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="rn...
by fsteimke
Fri Apr 13, 2018 9:38 am
Forum: Common Problems
Topic: xml:id type error with schema-aware Schematron
Replies: 1
Views: 1553

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 scr...
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: 2508

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

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::*) ...
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: 2508

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

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

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

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

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')...
by fsteimke
Fri Aug 19, 2016 8:22 am
Forum: XML Schemas
Topic: Can override add constraints?
Replies: 1
Views: 2525

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

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

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...
by fsteimke
Thu Jul 28, 2016 10:52 am
Forum: Feature Request
Topic: Use XML Catalog Files within Delta XML PlugIn
Replies: 2
Views: 2668

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 ...
by fsteimke
Mon Mar 28, 2016 1:35 pm
Forum: Common Problems
Topic: fold-left signature wrong in tooltip
Replies: 1
Views: 1563

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

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

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

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, extens...
by fsteimke
Wed Aug 12, 2015 8:35 am
Forum: Common Problems
Topic: Runtime Errors from parse-xml not catched
Replies: 5
Views: 3596

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

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

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

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 ...
by fsteimke
Tue Jan 06, 2015 12:11 am
Forum: Common Problems
Topic: docbook, xhtml and absolute filenames for images
Replies: 5
Views: 3396

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