Search found 40 matches

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

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

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

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: 3
Views: 152

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: 3
Views: 152

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

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

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

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

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

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

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

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

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

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

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

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='&lt;p>test&lt;/p&gt;' 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 mechani...
by fsteimke
Sat Apr 04, 2015 7:07 am
Forum: Common Problems
Topic: Format Document changes the include Path
Replies: 2
Views: 500

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

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

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

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

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

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

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

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

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
by fsteimke
Sun Jun 22, 2014 11:51 am
Forum: Common Problems
Topic: Warnings from SAXON are not displayed
Replies: 6
Views: 1419

Re: Warnings from SAXON are not displayed

Hi Adrian,

i have checked with the latest version. It seems that nothing has changed up to now.

Do you know when this bug will be fixed?

Thanks,
Frank
by fsteimke
Sat May 24, 2014 9:47 am
Forum: Common Problems
Topic: docbook, xhtml and absolute filenames for images
Replies: 5
Views: 1257

Re: docbook, xhtml and absolute filenames for images

Thanks Radu. I have submitted a bug report. Yes, its true, Entites and DocBook 5 don't go together very well. But after all, this bug does not depend on the use of entities. The stylesheets do not support the syntax with only one slash after the colon for absolute file urls. So there is a good chanc...
by fsteimke
Thu May 22, 2014 7:32 pm
Forum: Common Problems
Topic: docbook, xhtml and absolute filenames for images
Replies: 5
Views: 1257

docbook, xhtml and absolute filenames for images

Hi, i have an docbook document with an image defined as an entity: <!DOCTYPE article [ <!ENTITY img SYSTEM "image.png" NDATA PNG> ]> <article xmlns="http://docbook.org/ns/docbook" version="5.0"> <title>Test Document</title> <para>Contains a <mediaobject><imageobject><im...
by fsteimke
Tue May 13, 2014 4:24 pm
Forum: Common Problems
Topic: Unresolved Entity not detected or not reported
Replies: 12
Views: 1166

Re: Unresolved Entity not detected or not reported

Hi Radu,
Thanks a lot for this explanation. Yes, a warning woud be great in this case.

Sincerely,
Frank
by fsteimke
Mon May 12, 2014 9:35 pm
Forum: Common Problems
Topic: Unresolved Entity not detected or not reported
Replies: 12
Views: 1166

Unresolved Entity not detected or not reported

Hi, i have a very simple xml document which is valid with respect to a trivial schema. The Schema in RELAX NG compact Syntax defines an element p of type text. An Entity is defined in the internal subset and expanded as expected. When i try to referenceanother entity which is not declared, an error ...

Go to advanced search