[sword-devel] Insidious mismatched tag errors: recommendations
Daniel Owens
dcowens76 at gmail.com
Thu Sep 20 17:25:32 MST 2012
I use jEdit with the XML plugin installed. I find it helps me find
problems fairly easily.
Daniel
On 09/20/2012 05:26 PM, Greg Hellings wrote:
> There are a number of pieces of software out there that will
> pretty-print the XML for you, with indenting and whatnot. Overly
> indented for what you would want in production but decent for
> debugging mismatching nesting and the like.
>
> For example, 'xmllint --format' will properly indent the file, etc. I
> don't know how it will handle poorly formed XML.
>
> GUI editors can do wonders as well. On Windows I use Notepad++ and
> manually set it to display XML. gEdit and Geany - I believe - both
> support similar display worlds. And there are some plugins for Eclipse
> that might handle what you need as well.
>
> --Greg
>
> On Thu, Sep 20, 2012 at 4:19 PM, Karl Kleinpaste <karl at kleinpaste.org> wrote:
>> Andrew Thule <thulester at gmail.com> writes:
>>> One of my least favour things is finding mismatched tags in OSIS.xml files
>>> Has anyone successfully climbed this summit?
>> XEmacs and xml-mode (and font-lock-mode). M-C-f and M-C-b execute
>> sgml-forward-element and -backward-. That is, sitting at the beginning
>> of <tag>, M-C-f (meta-control-f) moves forward to the matching </tag>,
>> properly handling nested tags.
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
More information about the sword-devel
mailing list