Search found 7 matches

by gravyboat
Thu Oct 05, 2017 4:31 pm
Forum: Feature Request
Topic: debugger missing empty templates
Replies: 4
Views: 274

Re: debugger missing empty templates

This has been a source of frustration for me as well; I've worked around it by adding content to the template, i.e., <xsl:template match="someElement"> <xsl:comment>empty template</xsl:comment> </xsl:template> In order to step through in debugger, but it would be nice if it could stop on e...
by gravyboat
Thu Oct 20, 2011 4:17 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Extend RNG schema
Replies: 12
Views: 4141

Re: Extend RNG schema

I'm referring to when editing an RNG schema -- as described in this thread, I've extended the RNG schema to add documentation structures from a custom namespace. The RNG schema is then validated as if it were an XML instance using a custom validation scenario. All of the documentation elements are s...
by gravyboat
Fri Oct 14, 2011 4:53 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Extend RNG schema
Replies: 12
Views: 4141

Re: Extend RNG schema

Sorry to reopen this, but I notice that attributes (either required or optional) are not being shown in content completion; any tips? I've tried both referencing attributes from another <define> pattern and declaring them directly within <attribute> declarations.
by gravyboat
Thu Sep 22, 2011 10:06 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Extend RNG schema
Replies: 12
Views: 4141

Re: Extend RNG schema

After reading your last post I figured there may have been a typo above, so I renamed my schema from "relaxing.rng" to "relaxng.rng" and re-zipped and now it works as expected.

Thanks again for all your help
by gravyboat
Thu Sep 22, 2011 9:10 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Extend RNG schema
Replies: 12
Views: 4141

Re: Extend RNG schema

I've followed your instructions but it hasn't made any noticeable difference. A couple more questions for you: * are the content completion and validation separate issues with separate solutions, or will the .jar file technique accomplish both? * should the .jar/.zip archive created per above have a...
by gravyboat
Thu Sep 22, 2011 4:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Extend RNG schema
Replies: 12
Views: 4141

Re: Extend RNG schema

Thanks George. I've followed the examples found in the forums and have created an NVDL file, as well as a custom RNG schema for RNG that includes our special documentation elements (which I've removed from a:documentation). I've associated the RNG document type with the custom RNG schema and validat...
by gravyboat
Fri Sep 16, 2011 10:33 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Extend RNG schema
Replies: 12
Views: 4141

Extend RNG schema

Hi,
I was wondering if it's possible to extend RNG validation; we have a number of elements in a custom namespace that we include within <a:documentation>, and I would like to enable validation and content completion for these.

Is this possible?

Go to advanced search