Search found 280 matches

by Patrik
Mon Feb 26, 2018 5:49 pm
Forum: Common Problems
Topic: Validate against specified xsd with embedded schematorn rules
Replies: 2
Views: 1789

Validate against specified xsd with embedded schematorn rules

Hi, I have multiple XSD with embedded schematron rules. When validating an xXML file referencing one of the XSDs the embedded schematron rules are not checked. I knkow I can create a validation scenario but I have to set a specific XSD to enable the "Embedded Schematron rules" check box. B...
by Patrik
Fri Feb 09, 2018 1:39 pm
Forum: Feature Request
Topic: Show XSLT documentation on content completion
Replies: 1
Views: 2054

Show XSLT documentation on content completion

Hi, I just learned about the existence of xslt documentation (by elements in the namespace "http://www.oxygenxml.com/ns/doc/xsl"). I'm not interested in generating a seperate documentation for my code but it would be great if the description of the variables, functions, templates and param...
by Patrik
Thu Feb 08, 2018 3:16 pm
Forum: Feature Request
Topic: XML Refactoring option with XQuery Update
Replies: 1
Views: 2150

XML Refactoring option with XQuery Update

Hi,

just as a reminder (I already discussed this with Alex): It would be nice to have an XML Refactoring option that allows you to enter an XQuery Update statement or alternativly to refer to an XQuery Update script.

Regards,
Patrik
by Patrik
Wed Jan 24, 2018 12:12 pm
Forum: XSLT and FOP
Topic: XSLT validation scenario with Saxon initializer class
Replies: 4
Views: 3654

Re: XSLT validation scenario with Saxon initializer class

Just in case anybody else has this problem: I found a nice way to handle custom extension functions: Just declare them in your xslt like this: <xsl:function name="my:myCustomFunction" as="xs:string" use-when="not(function-available('my:myCustomFunction'))"> <xsl:param n...
by Patrik
Fri Jul 07, 2017 6:01 pm
Forum: Feature Request
Topic: XSLT template inspector
Replies: 1
Views: 1906

XSLT template inspector

Hi, this is more a vague idea than a request, but it might be usefull... While the template pattern mechanism of XSLT is very comfortable to extend it has the same deficit as CSS has: On large projects it is difficult to maintain the overview which template will match (first) on a specific node. For...
by Patrik
Tue Jul 04, 2017 12:52 pm
Forum: Other Issues
Topic: Display placeholer for empty table cells
Replies: 2
Views: 1862

Re: Display placeholer for empty table cells

Hi Radu, I agree, that for standard tables (e.g. in DITA) the placeholder is better to be hidden - especially when you have plenty of emptyy cells. But when using custom XML (or specialized DITA) the placeholder is very useful - especially when you have a schematron rule complaining about empty elem...
by Patrik
Tue Jul 04, 2017 8:24 am
Forum: Other Issues
Topic: Display placeholer for empty table cells
Replies: 2
Views: 1862

Display placeholer for empty table cells

Hi, In all my empty table cells there is no placeholder displayed - even when I explicitly set -oxy-show-placeholder:always; by css. I know I could define a css rule to manually display some content for empty elements. But I'mstill wondering why this seems not to work by default as it does for other...
by Patrik
Wed Jun 28, 2017 5:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Measuring execution time of map validation?
Replies: 3
Views: 1940

Re: Measuring execution time of map validation?

Hi Radu,

Thanks, I would support both ideas. (Although the realization will be too late for my current experiments).

Regards,
Patrik
by Patrik
Wed Jun 28, 2017 4:22 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Measuring execution time of map validation?
Replies: 3
Views: 1940

Measuring execution time of map validation?

Hi, currently I'm experimenting a lot with different schematron checks an tweaks for the execution of the checks. So it would be very helpful to measure the execution time of the validation ('DITA Map completeness check' for Map Manager) for comparision. Is there any better way then manually waiting...
by Patrik
Wed Jun 28, 2017 2:53 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Project specific validation settings for DITA Map Manager
Replies: 4
Views: 2140

Project specific validation settings for DITA Map Manager

Hi, it would be helpful if the settings for "DITA Map Completeness Check" from the DITA Map Manager would be stored in the project file - just like it can be done for ordinary validation and transformation scenarios. I know I can export and load the settings but it's still not very comfort...
by Patrik
Wed Jun 28, 2017 9:46 am
Forum: Feature Request
Topic: Organizing project transformation scenarios
Replies: 4
Views: 3240

Re: Organizing project transformation scenarios

Ok, Thanks.

Patrik
by Patrik
Wed Jun 28, 2017 8:16 am
Forum: Feature Request
Topic: Organizing project transformation scenarios
Replies: 4
Views: 3240

Organizing project transformation scenarios

Hi, I have some projects with a growing number of transformation scenarios. So it's becoming uncomfortable to find the right one. Maybe some kind of folder mechanism would be nice so you can organize them. This might also enable you to easily select a set of transformation scenarios - e.g. for publi...
by Patrik
Tue Jun 20, 2017 11:34 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Equations: Alignment, automatic numbering, referencing, etc.
Replies: 8
Views: 5607

Re: Equations: Alignment, automatic numbering, referencing, etc.

FYI: I just updated my DITA-OT-Plugin https://github.com/dita-semia/org.dita-semia.topic-num to handle equations as well. So it will add consecutive numbers to their title and to the cross reference.

Patrik
by Patrik
Sat Jun 17, 2017 12:45 am
Forum: Feature Request
Topic: CSS Pseudo-Element "inner(n)"
Replies: 8
Views: 5157

Re: CSS Pseudo-Element "inner(n)"

You would have needed the :nth-child() only when your entry element were identical (e.g. entry, entry, ... instead of entry1, entry2, ...).

Patrik
by Patrik
Fri Jun 16, 2017 8:00 am
Forum: Feature Request
Topic: CSS Pseudo-Element "inner(n)"
Replies: 8
Views: 5157

Re: CSS Pseudo-Element "inner(n)"

You can do this nicely with existing css (I think supported since oXygen ~v17.1): my-table > my-row:first-child > *:before { // set styling for all header cells display: block; background-color: gray; // imitate table header font-weight: bold; border-bottom: solid 1px black; // imitate seperate row ...
by Patrik
Thu Jun 15, 2017 11:10 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: XSD-DITA validation...
Replies: 3
Views: 1866

XSD-DITA validation...

Hi, I have an xsd-based DITA map and a schematron file with rules evaluating the class attribute. So, obviously, the default attributes need to be expanded before validation. To validate a single topic I have to enable the option "Use Saxon EE (schema aware) ...". Otherwise my rules don't ...
by Patrik
Fri Jun 09, 2017 10:36 am
Forum: SDK-API, Frameworks - Document Types
Topic: Custom extension to DITA Map validation?
Replies: 3
Views: 2499

Re: Custom extension to DITA Map validation?

Thanks for the explanation. But I did not mean the automatic validation (although I might add it there as well) but the "Validate and Check for Completeness" in the DITA Maps Manager.

Regards,
Patrik
by Patrik
Fri Jun 09, 2017 10:32 am
Forum: SDK-API, Frameworks - Document Types
Topic: create new file with assigned url?
Replies: 2
Views: 2130

Re: create new file with assigned url?

Thanks. It's not that urgent anyway since the current behavior is good enough...

Regards,
Patrik
by Patrik
Thu Jun 08, 2017 5:04 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom extension to DITA Map validation?
Replies: 3
Views: 2499

Custom extension to DITA Map validation?

Hi, I have custom elements in my DITA framework referencing additional XML files. I'd like to have these validated as well since their content is being integrated into the publication (by a customized coderef). Is there any way for me to extend the validation process through Java? Thanks and regards...
by Patrik
Thu Jun 08, 2017 5:02 pm
Forum: SDK-API, Frameworks - Document Types
Topic: create new file with assigned url?
Replies: 2
Views: 2130

create new file with assigned url?

My requirement for a specific AuthorOperation is that i want to ensure that a specific file is opened in oXygen editor. (I will access it through the URIResolver.) Currently, when the file is not existing I create the content, write it to disk and then open it. Even better would be if I could create...
by Patrik
Thu Jun 08, 2017 4:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: place cursor in text mode by API
Replies: 2
Views: 2031

Re: place cursor in text mode by API

Thanks alot, Radu. This works fine - and knowing about the WSXMLTextNodeRange solves some other problems as well... :D

Regards,
Patrik
by Patrik
Thu Jun 08, 2017 3:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: place cursor in text mode by API
Replies: 2
Views: 2031

place cursor in text mode by API

Hi, I am implementing a AuthorOperation which should jump to a specific element within an xml file that needs to be opened in text mode. I already managed to open the file: PluginWorkspaceProvider.getPluginWorkspace().open(url, EditorPageConstants.PAGE_TEXT); (and also to modify the content with edi...
by Patrik
Mon May 29, 2017 9:09 am
Forum: General XML Questions
Topic: Dynamic XSD by "magic URLs"
Replies: 2
Views: 2282

Dynamic XSD by "magic URLs"

Hi, in our DITA documents we have plenty of xml samples. Thus, we need good support for creating and validating them. My idea is now to import them from a seperate xml file (customization of codeblock + coderef) having a dynamically created schema assigned to it: <samples xmlns:xsi="http://www....
by Patrik
Mon May 22, 2017 11:42 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: auto-p element in new li not working reliably
Replies: 3
Views: 1984

Re: auto-p element in new li not working reliably

Hi Alex, thanks for the explanation. Unfortunately it didn't explain the different behavior since I've tested with identical files and identical frameworks. However, I could finally identify the responsible difference: These solution-strategies you described seem to be only triggered when ths settin...
by Patrik
Tue Apr 18, 2017 11:53 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: auto-p element in new li not working reliably
Replies: 3
Views: 1984

auto-p element in new li not working reliably

Hi, on my computer when typing character within an empty li element oXygen will automatically insert a new p element. That's great. However, for one of my collegues (using the same framework and files) this feature is not always working. In some places it does, in others it doesn't. I have no idea w...
by Patrik
Wed Mar 15, 2017 1:56 pm
Forum: Common Problems
Topic: classic webhelp: problem with "\" in href
Replies: 2
Views: 1707

Re: classic webhelp: problem with "\" in href

I only noticed this problem on a local (windows-)filesystem. Since we had to do quite some modifications to integrate the webhelp in our (typo3-)website I could not easily test this issue there. Anyway, since I have no problems with the href attributes I consider this issue to be closed. Thanks and ...
by Patrik
Wed Mar 15, 2017 1:53 pm
Forum: Common Problems
Topic: classic webhelp: breadcrumps not (always) refreshing
Replies: 4
Views: 2252

Re: classic webhelp: breadcrumps not (always) refreshing

We finally managed to integrate the webhelp in our (typo3-based) website. I could not trigger any problems with the breadcrumps so it only seems to be an issue on a local file system and that's no problem. So there is no need for further investigation.

Thanks and regards,
Patrik
by Patrik
Fri Mar 10, 2017 12:45 pm
Forum: XSLT and FOP
Topic: XSLT validation scenario with Saxon initializer class
Replies: 4
Views: 3654

Re: XSLT validation scenario with Saxon initializer class

Hi Alex, thanks for the information. Im just wondering if it wouldn't be easier to implement (and teasier to understand for a user) if you would allow to set Saxon configurations in a validation scenario as well. Especially since there are use-cases when you don't have a transformation scenario at a...
by Patrik
Thu Mar 09, 2017 11:26 am
Forum: XSLT and FOP
Topic: XSLT validation scenario with Saxon initializer class
Replies: 4
Views: 3654

XSLT validation scenario with Saxon initializer class

Hi, I have configured a transformations scenario using a Saoxn initializer class to register a custom extension function. When validating the root file being used by this transformaton scenario the validation works fine. I also created a validation scenario for xslt files included by this root file ...