Search found 43 matches

by mhGLEIF
Tue Jan 15, 2019 7:32 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Simple vanilla DITA structure for if/then business rules?
Replies: 1
Views: 1333

Simple vanilla DITA structure for if/then business rules?

I'm looking to create a reference topic or topics for a set of data processing / workflow business rules. Is there an obvious choice within the basic DITA types that oxygen comes with out of the box? Or is it easier just to make a table with IF and THEN columns? I'd like to output to Word and PDF so...
by mhGLEIF
Thu Apr 26, 2018 2:58 pm
Forum: Other Issues
Topic: JSON: why does oXygen say this is valid JSON?
Replies: 3
Views: 2813

Re: JSON: why does oXygen say this is valid JSON?

["Name", "Session", "Score", "Completed"] ["Gilbert", "2013", 24, true] ["Alexa", "2013", 29, true] ["May", "2012B", 14, false] ["Deloise", "2012A", 19, true] For info, this is fr...
by mhGLEIF
Thu Apr 26, 2018 2:57 pm
Forum: Other Issues
Topic: JSON: why does oXygen say this is valid JSON?
Replies: 3
Views: 2813

JSON: why does oXygen say this is valid JSON?

Code: Select all

["Name", "Session", "Score", "Completed"]
["Gilbert", "2013", 24, true]
["Alexa", "2013", 29, true]
["May", "2012B", 14, false]
["Deloise", "2012A", 19, true]
by mhGLEIF
Thu Sep 21, 2017 11:36 am
Forum: Feature Request
Topic: NRL (Natural Rule Language) editing / mapping to Schematron?
Replies: 4
Views: 3185

Re: NRL (Natural Rule Language) editing / mapping to Schematron?

Have some way to state that an XML should be validated with such a NRL file and then show the validation errors just as we do for all other schemas? Maybe a specialized NRL editor with specific syntax highlight? Hi Radu, no problem, XML world is an acronym soup! Yes, to both of the above, that is e...
by mhGLEIF
Wed Sep 20, 2017 10:58 am
Forum: Feature Request
Topic: NRL (Natural Rule Language) editing / mapping to Schematron?
Replies: 4
Views: 3185

Re: NRL (Natural Rule Language) editing / mapping to Schematron?

Hi, At some point we had some support for NRL but we removed it as it was not used and we replaced NRL support with support for the NVDL language which also has a little bit of Schematron support from what I remember: http://jnvdl.sourceforge.net/tutorial.html Regards, Radu Any way we could get the...
by mhGLEIF
Mon Sep 18, 2017 5:21 pm
Forum: Other Issues
Topic: DITA to XLIFF support?
Replies: 11
Views: 5706

Re: DITA to XLIFF support?

Hi there, I'm about to start looking in to ways of providing .dita content in XLIFF format. Just curious, is there any functionality build into Oxygen to convert ditamaps to XLIFF - I can't see anything. If not, I'd love to see this as a new feature, if possible. Thanks, Ryan I'm starting to look i...
by mhGLEIF
Mon Sep 18, 2017 5:16 pm
Forum: Feature Request
Topic: What about Git support?
Replies: 102
Views: 63121

Re: What about Git support?

Hi, Just to update this post, we rolled out the first version of the Oxygen XML add-on which adds a Git repository view: https://github.com/oxygenxml/Oxygen-Git-Plugin#git-support-plugin So if anybody wants to try it, you can add issues on the GitHub project or report them here. Regards, Radu Yes! ...
by mhGLEIF
Thu Sep 14, 2017 3:53 pm
Forum: Feature Request
Topic: NRL (Natural Rule Language) editing / mapping to Schematron?
Replies: 4
Views: 3185

NRL (Natural Rule Language) editing / mapping to Schematron?

Did anyone consider adding NRL (Natural Rule Language) editing / mapping into Schematron to oxygen?

NRL was / is this:

http://nrl.sourceforge.net/
by mhGLEIF
Thu Jul 06, 2017 5:38 pm
Forum: XML Schemas
Topic: XSD for > 1 alternative root element?
Replies: 2
Views: 6106

Re: XSD for > 1 alternative root element?

I verified in oxygen that this type of schema does in fact validate alternate root xml instances. I discovered it also seems to imply that XSDs which use the "ref" attribute to define child elements also end up allowing those elements as possible root elements e.g. <?xml version="1.0&...
by mhGLEIF
Thu Jul 06, 2017 5:29 pm
Forum: XML Schemas
Topic: XSD for > 1 alternative root element?
Replies: 2
Views: 6106

XSD for > 1 alternative root element?

Hi all,

I've come across this supposed possibility for enabling validation of 2 different XML documents using 1 schema:

https://stackoverflow.com/questions/116 ... -at-a-time

Is this a documented feature of XML schema?
by mhGLEIF
Mon May 29, 2017 2:19 pm
Forum: XSLT and FOP
Topic: How to pass --suppressXsltNamespaceCheck:on in scenario
Replies: 5
Views: 7009

Re: How to pass --suppressXsltNamespaceCheck:on in scenario

Hello,

was there an update on this request?
by mhGLEIF
Fri May 19, 2017 12:42 pm
Forum: Other Issues
Topic: Markdown to DITA: HTML preview template?
Replies: 1
Views: 1850

Markdown to DITA: HTML preview template?

Where can I find the stylesheet and/or template for the HTML preview for the Markdown editor?

I want to add a simple header including a logo.

I noticed that image links in the Markdown editor seem to be lost in both the HTML preview & the DITA output BTW.
by mhGLEIF
Thu Apr 27, 2017 3:42 pm
Forum: Common Problems
Topic: toggle JSON escaped chars?
Replies: 4
Views: 2844

Re: toggle JSON escaped chars?

Thanks Adrian,

the problem is that the escape characters work for JSON, not XML - they are not XML entities, but JSON "entities" like

Code: Select all

",{}[]
.

I guess that oxygen doesn't do JSON excaping?
by mhGLEIF
Mon Apr 24, 2017 10:40 am
Forum: Common Problems
Topic: toggle JSON escaped chars?
Replies: 4
Views: 2844

toggle JSON escaped chars?

Dear oxygen team,

I have some JSON files that include xml strings within them.

To conform to JSON the XML strings have been heavily escaped.

How can I quickly and conveniently toggle back and forth between JSON-escaped string and XML string, so that I can edit as XML and/JSON?
by mhGLEIF
Tue Apr 18, 2017 11:30 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Check for broken web links in DITA topics?
Replies: 4
Views: 3021

Check for broken web links in DITA topics?

Hello all!

Is there a functionality to do a simple check for broken Web links in a whole folder of DITA files?

I tried the oxygen web help but couldn't find this (also couldn't log in to comment there but that's another topic)...
by mhGLEIF
Tue Apr 04, 2017 3:24 pm
Forum: XML Schemas
Topic: Can an XML instance remain valid if its associated schema changes elementFormDefault (unqualified -> qualified)?
Replies: 1
Views: 3254

Can an XML instance remain valid if its associated schema changes elementFormDefault (unqualified -> qualified)?

I change schema A into new schema B, which is identical to A except that elementFormDefault goes from unqualified -> qualified. How does an XML instance that was valid per A become valid per B? Under what circumstances is an XML instance valid under both A and B? I.e. is the change elementFormDefaul...
by mhGLEIF
Tue Mar 28, 2017 10:30 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Copy-paste import from HTML: dita "codeblock"
Replies: 1
Views: 1562

Copy-paste import from HTML: dita "codeblock"

I'm importing some HTML tables into DITA topics, with a large number of entries like: <code class="inline">==</code> oxygen turns this into a <codeblock> in DITA but I think <codeph> is more appropriate. Can / should we update this or make it conditional on the class? I'm not sure if inlin...
by mhGLEIF
Wed Mar 22, 2017 6:50 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Docs for DITA to Word transformer plugin: Word styles?
Replies: 1
Views: 1615

Docs for DITA to Word transformer plugin: Word styles?

It would be great if we could get a user guide to the (experimental - but excellent) DITA to Word transformer plugin, specifically for setting up the normal.dotm tempate and mapping DITA elements to Word styles The normal.dotm file included in the current version of the plugin (shipped with oxygen 1...
by mhGLEIF
Thu Mar 16, 2017 11:21 am
Forum: Feature Request
Topic: Kill whitespace while pretty-printing
Replies: 1
Views: 2545

Kill whitespace while pretty-printing

I edit a lot of XML schemas and these need to be formatted and indented for presentation in docs. One thing that CTRL+SHIFT+P doesn't seem to do is remove any useless blank lines between XML elements. Could this be added? Maybe as a separate operation if people like whitespace between elements (I do...
by mhGLEIF
Wed Mar 15, 2017 2:09 pm
Forum: Feature Request
Topic: JSON Schema and JSON/XML conversion?
Replies: 10
Views: 11691

JSON Schema and JSON/XML conversion?

Please could I request 2 new features? JSON Schema generation and validation (please see http://json-schema.org/); JSON to XML and back with a more-or-less round-trippable convention e.g. Badgerfish (please see https://docs.tibco.com/pub/activematrix_binding_type_for_rest/3.3.0/doc/html/GUID-1460796...
by mhGLEIF
Thu Mar 09, 2017 6:40 pm
Forum: Feature Request
Topic: Check for conformance to the XML 1.0 character set?
Replies: 3
Views: 2710

Re: Check for conformance to the XML 1.0 character set?

Hi Michael, Yes, Oxygen's wellformedness check should cover this. And any schema-based validation also does wellformedness checks. Regards, Radu Just to close out this topic in my own mind - does this mean that an XML 1.1 file which contains some characters allowed in 1.1 but NOT in 1.0 will be wel...
by mhGLEIF
Thu Mar 09, 2017 5:15 pm
Forum: Feature Request
Topic: Check for conformance to the XML 1.0 character set?
Replies: 3
Views: 2710

Check for conformance to the XML 1.0 character set?

Dear oxygen colleagues,

I’d like to check a large XML file for conformance to the XML 1.0 character set:

https://www.w3.org/TR/REC-xml/#charsets

Is this check bundled in with well-formedness and/or validation checks?

Or is there another feature somewhere in oxygen I can use?
by mhGLEIF
Wed Mar 08, 2017 7:27 pm
Forum: Other Issues
Topic: Translations best practices with DITA
Replies: 4
Views: 3622

Re: Translations best practices with DITA

BogdanM777 wrote:Hi guys,

I am also doing translation for my company, and I was wondering if there are any best practices in that regard.
There are some docs at the OASIS website, e.g.

https://www.oasis-open.org/committees/d ... ranslation
by mhGLEIF
Wed Mar 08, 2017 12:14 pm
Forum: XML Schemas
Topic: Compare two dates in XSD 1.1?
Replies: 1
Views: 3396

Compare two dates in XSD 1.1?

I want to write a number of assertions to compare pairs of dates in XSD 1.1 but it's not working. Can someone help me get started? Here's a couple of examples: <Records content-date="2006-05-04T18:13:51.0Z"> <Record issuance-date="2006-05-04T18:13:51.0Z" last-update-date="20...
by mhGLEIF
Wed Mar 08, 2017 11:52 am
Forum: XML Schemas
Topic: Generate example instances - enforce regex patterns
Replies: 1
Views: 2458

Generate example instances - enforce regex patterns

Dear Oxygen colleagues, I noticed that when generating examples with XSDs containing following content model, not all of the restrictions are followed: <xs:simpleType name="datetime-profile"> <xs:restriction base="xs:dateTime"> <xs:pattern value="([^\.]*|([^\.]*(\.((\d){1,3}...
by mhGLEIF
Tue Feb 28, 2017 12:45 pm
Forum: General XML Questions
Topic: Quick conversion from qualified to unqualified elements in an XML instance?
Replies: 1
Views: 2067

Quick conversion from qualified to unqualified elements in an XML instance?

Is there a quick way in oXygen Editor to convert from qualified to unqualified elements in an XML instance? I'd like to quickly and easily flip between having a prefix on all elements and having no prefix, while at the same time updating the namespace declarations to be consistent. Is this feature i...
by mhGLEIF
Tue Feb 28, 2017 12:17 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: oXygen XML Schema Documentation as DITA files?
Replies: 7
Views: 3241

Re: oXygen XML Schema Documentation as DITA files?

Hi Michael, As it happens, we are just working on the XML Schema to DITA conversion. It will probably be available in Oxygen 19 (April-May this year). So what we are doing is that from the conversion we produce a DITA Map. For each top level XML Schema element or other (complex type) we create a DI...
by mhGLEIF
Thu Feb 23, 2017 5:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: oXygen XML Schema Documentation as DITA files?
Replies: 7
Views: 3241

Re: oXygen XML Schema Documentation as DITA files?

Just as a final thought on this topic: XML schemas contain a bunch of very well-defined, standardized bits of info per element/attribute/type. As I have dug more into DITA I noticed that an XML schema plugin would definitely work for this use case, e.g. generating instances as code snipppets, and st...
by mhGLEIF
Tue Feb 21, 2017 5:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: DITA 1.3 Troubleshooting Specialization
Replies: 1
Views: 1315

DITA 1.3 Troubleshooting Specialization

Hi oXygen Team!

Do we have the DITA 1.3 Troubleshooting Specialization?

Or would we have to install that extra?
by mhGLEIF
Wed Feb 01, 2017 5:10 pm
Forum: XML Schemas
Topic: XSD 1.1
Replies: 1
Views: 2461

XSD 1.1

What is the status of XSD 1.1?

Can we expect any further major changes to the specification?

Are the new assertions and conditional type assignment taken into account by oXygen when creating XML instances from an XSD?