Search found 9 matches

by Graydon2014
Wed May 29, 2019 6:46 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add a document type for a custom RNG schema with a custom URN
Replies: 15
Views: 1180

Re: Add a document type for a custom RNG schema with a custom URN

Hi Radu -- Between my initial report and now, I've upgraded from oXygen XML Editor for Linux 21 to oXygen XML Editor for Linux 21.1, and I can no longer replicate the issue. I've bundled up the git repository for the extension framework in question and sent it to the email address provided. Thank yo...
by Graydon2014
Tue May 28, 2019 11:15 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add a document type for a custom RNG schema with a custom URN
Replies: 15
Views: 1180

Re: Add a document type for a custom RNG schema with a custom URN

Hi Radu -- I still cannot reproduce the problems you encountered when having that @class attribute not ending in a space, for example if I open a DITA topic looking like this: Some more context. The RNG schemas being used are NOT the OASIS DITA schemas, but a constrained subset written from scratch....
by Graydon2014
Thu May 23, 2019 5:02 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add a document type for a custom RNG schema with a custom URN
Replies: 15
Views: 1180

Re: Add a document type for a custom RNG schema with a custom URN

Hi Radu -- In the Oxygen Preferences->"XML / XML Parser / RELAX NG" page there is a checkbox called "Add default attributes values". This was checked. It turns out that if the DITA class attribute value does not end with a space, the "add default attributes" mechanism fails and doesn't provide an er...
by Graydon2014
Wed May 22, 2019 5:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add a document type for a custom RNG schema with a custom URN
Replies: 15
Views: 1180

Re: Add a document type for a custom RNG schema with a custom URN

When creating a new document, RNG maps and the DTD topics show in the "Choose file template" dialog with only the actual document templates showing. The DTD maps and the RNG topics show the document templates (which work) AND the properties files. This makes me wonder if I've set the category.prope...
by Graydon2014
Wed May 22, 2019 5:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add a document type for a custom RNG schema with a custom URN
Replies: 15
Views: 1180

Re: Add a document type for a custom RNG schema with a custom URN

Two follow on questions. Firstly, RNG doesn't have a concept of "fixed" attributes; it can use the annotation namespace to provide a default value. This makes me wonder if that's the reason a DITA document associated with a specialized DTD with fixed class attributes DOES NOT require the class attri...
by Graydon2014
Mon May 13, 2019 3:48 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add a document type for a custom RNG schema with a custom URN
Replies: 15
Views: 1180

Re: Add a document type for a custom RNG schema with a custom URN

Thanks, Radu!

Association rules using xml-model would be extremely useful.

(No luck with setting the priority on the custom extension framework to "high"; no document type, and no CSS association.)
by Graydon2014
Fri May 10, 2019 7:24 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add a document type for a custom RNG schema with a custom URN
Replies: 15
Views: 1180

Add a document type for a custom RNG schema with a custom URN

Hi -- The overall goal here is to get Author to recognize the document type so we can add some custom CSS extensions. In oXygen 21, I've created a custom extension framework; there's a directory with custom DITA schemas (which are complete document types) and a catalog file, and a sibling directory ...
by Graydon2014
Wed May 21, 2014 5:21 pm
Forum: Common Problems
Topic: XPath 3.0, simple mapping operator, and syntax highlighting
Replies: 3
Views: 1168

Re: XPath 3.0, simple mapping operator, and syntax highlight

I have logged this to our issue tracking tool. This will be analyzed and resolved in a future version of Oxygen. Thank you! It would be good if the format-and-indent was aware of line breaks in long XPath expressions in attributes, too; a coding team has to be very careful about all having the exac...
by Graydon2014
Tue May 20, 2014 7:03 pm
Forum: Common Problems
Topic: XPath 3.0, simple mapping operator, and syntax highlighting
Replies: 3
Views: 1168

XPath 3.0, simple mapping operator, and syntax highlighting

If I connect (for example) a group of replace functions via the simple mapping operator, the syntax highlighting goes strange. <xsl:function as="xs:string" name="d:charReplace"> <xsl:param name="inString" as="xs:string" /> <xsl:sequence select="replace($inString,'(\p{L}s)''(\p{Zs})','$1’$2') ...