[docbook-apps] Restrictive Docbook XML editor which enforces Docbook schema?

2015-01-15 Thread Dan Shelton
Is there a Docbook XML editor which enforces the Docbook schema during editing? I am looking for an editor which loads the Docbook XML schema and then only allows the creation of tags which are allowed at the current position in the XML document. Dan

Re: [docbook-apps] Restrictive Docbook XML editor which enforces Docbook schema?

2015-01-15 Thread Stefan Seefeld
On 15/01/15 10:01 AM, Dan Shelton wrote: Is there a Docbook XML editor which enforces the Docbook schema during editing? I am looking for an editor which loads the Docbook XML schema and then only allows the creation of tags which are allowed at the current position in the XML document. My

Re: [docbook-apps] Restrictive Docbook XML editor which enforces Docbook schema?

2015-01-15 Thread Dan Shelton
On 15 January 2015 at 16:04, Stefan Seefeld ste...@seefeld.name wrote: On 15/01/15 10:01 AM, Dan Shelton wrote: Is there a Docbook XML editor which enforces the Docbook schema during editing? I am looking for an editor which loads the Docbook XML schema and then only allows the creation of

Re: [docbook-apps] Restrictive Docbook XML editor which enforces Docbook schema?

2015-01-15 Thread Mark Craig
Hello, IDEs like Eclipse and IntelliJ IDEA don’t quite prevent you from inserting the wrong element or attribute, but once you’ve fetched the XSD they help with tag completion and also immediately flag invalid markup (in red text for example). Both those IDEs let you run validation, making it

Re: [docbook-apps] Restrictive Docbook XML editor which enforces Docbook schema?

2015-01-15 Thread Stefan Seefeld
On 15/01/15 10:13 AM, Dan Shelton wrote: On 15 January 2015 at 16:04, Stefan Seefeld ste...@seefeld.name wrote: On 15/01/15 10:01 AM, Dan Shelton wrote: Is there a Docbook XML editor which enforces the Docbook schema during editing? I am looking for an editor which loads the Docbook XML

Re: [docbook-apps] Restrictive Docbook XML editor which enforces Docbook schema?

2015-01-15 Thread John W. Shipman
On Thu, 15 Jan 2015, Dan Shelton wrote: +-- | Is there a Docbook XML editor which enforces the Docbook | schema during editing? | | I am looking for an editor which loads the Docbook XML schema and then | only allows the creation of tags which are allowed at the current | position in the XML

[docbook-apps] Re: [docbook] Restrictive Docbook XML editor which enforces Docbook schema?

2015-01-15 Thread Dan Shelton
On 15 January 2015 at 16:04, Franklin Einspruch franklin.einspr...@gmail.com wrote: Emacs will do it. Well, you can create any tag you want, but the text goes red to let you know that validation is failing. No, what I need is that users are completely prevented from creating tags which do not

[docbook-apps] Re: [docbook] Restrictive Docbook XML editor which enforces Docbook schema?

2015-01-15 Thread Jirka Kosek
On 15.1.2015 16:12, Dan Shelton wrote: No, what I need is that users are completely prevented from creating tags which do not belong there. No red text or something like that. We need something which really prevents the creation in the first place. You forgot to mention whether you are looking

Re: [docbook-apps] Restrictive Docbook XML editor which enforces Docbook schema?

2015-01-15 Thread Aaron W . Hsu
I'd like to reiterate the Emacs mention. I’m not a very big Emacs guy, but I did use it during some heavy XML editing, and I configured it using one of the more featureful XML modes, which I believe was nxml. While obtuse to a non-Emacsen, it’s very powerful, and you gain the benefits of the

[docbook-apps] Stylesheet bug: Assembly stylesheets ignore attributes

2015-01-15 Thread Fekete , Róbert
Hi, I had to localize some of my docbook assembly files, and it seems to me that the stylesheets ignore the xml:lang and other attributes. I have created a patch (attached) that preserves the xml:lang and condition attributes of the structure tag, though it might not be the best solution (and it