Search found 58 matches

by fsteimke
Wed Feb 17, 2021 7:21 pm
Forum: Common Problems
Topic: Possible Bug with Saxon Schema Validation
Replies: 2
Views: 362

Re: Possible Bug with Saxon Schema Validation

just saw that this has been checked by Mr. Kay from Saxonica with the result that this is not a Bug. It is not, as i thought, a Question of different Schema Versions. Instead it's simply a limitation of xs:assert. Well, that means that we have to find a different solution. Maybe a combination of XML...
by fsteimke
Tue Feb 16, 2021 6:32 pm
Forum: Common Problems
Topic: Possible Bug with Saxon Schema Validation
Replies: 2
Views: 362

Possible Bug with Saxon Schema Validation

Hi, i'd like to construct a XML Schema C (XSD Version 1.1), which includes an XML Schema B (without any version attributes) and imports another XML Schema A (XSD Version 1.1). The Idea is that i can extend a complexType from B by an xs:assert Element, which, in its test condition, references a Type ...
by fsteimke
Mon Feb 15, 2021 12:57 am
Forum: Common Problems
Topic: Possible Bug with XML Schema 1.1 override
Replies: 1
Views: 266

Possible Bug with XML Schema 1.1 override

Hi, I have to use the XSD Schema 1.1 feature xs:override for the first time, and found something that looks like a bug. The real use Case deals with a complex ebXML Schema construct (XML Schema 1.0). For the purpose of demonstration i have two very simple Schema files. The first one has no versionin...
by fsteimke
Wed Nov 25, 2020 12:57 pm
Forum: Common Problems
Topic: XProc and Java Extensions
Replies: 6
Views: 535

Re: XProc and Java Extensions

Oops ... i'm afraid you are right. Maybe it was me who put the metadata extractor in the lib directory. Sorry for that.

And thanks for your hints. I will follow them and see where it goes.

Frank
by fsteimke
Wed Nov 25, 2020 10:12 am
Forum: Common Problems
Topic: XProc and Java Extensions
Replies: 6
Views: 535

Re: XProc and Java Extensions

Thanks, Radu, for these hints and suggestions. I wonder if there is a way to do the whole thing in XProc. I found the metadata-extractor is an extensions shipped with calabash. So i asked in the xproc-dev mailing list and got an answer immediatly, see https://lists.w3.org/Archives/Public/xproc-dev/2...
by fsteimke
Tue Nov 24, 2020 1:06 am
Forum: Common Problems
Topic: XProc and Java Extensions
Replies: 6
Views: 535

Re: XProc and Java Extensions

Hi Radu, so i have to reference a jar file, which is part of my framework, from the engine.xml file which is part of $ OXYGEN_HOME. Sounds like i have to use an absolute path. I am afraid that this won't work fo me, since i'd like to distribute the framework to our staff, where everyone has his or h...
by fsteimke
Sun Nov 22, 2020 8:19 pm
Forum: Common Problems
Topic: XProc and Java Extensions
Replies: 6
Views: 535

XProc and Java Extensions

Hi, i have a Question regarding the configuration of XProc Transformations. I started with a regular XSLT Transformation Scenario. The Script preprocess.xsl uses a extension function written in Java. I had to add the jar File as an Extension in the Scenario, and it works fine. Now i want to use the ...
by fsteimke
Fri Nov 13, 2020 3:22 pm
Forum: Common Problems
Topic: Unable to insert valid Element in Author Mode
Replies: 3
Views: 475

Re: Unable to insert valid Element in Author Mode

Hi Radu, sure. I see that i have not mentioned the fact that my RNC Schema includes a DocBook Schema. Here ist is: namespace db = "http://docbook.org/ns/docbook" include "http://www.oasis-open.org/docbook/xml/5.1/rng/docbookxi.rnc" { start = db.book | db.dsmeld-groups | db.dsmeld-group | db.dsmeld-b...
by fsteimke
Thu Nov 12, 2020 7:56 am
Forum: Common Problems
Topic: Unable to insert valid Element in Author Mode
Replies: 3
Views: 475

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

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

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"/> And this imp...
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: 764

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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