[sword-devel] Insidious mismatched tag errors: recommendations
Andrew Thule
thulester at gmail.com
Fri Sep 21 07:52:55 MST 2012
Thanks everyone for suggestions. I'll give them all a try.
That said, the emacs recommendation is nearly a religious conversion
recommendation. (I'm on the vi side of the vi verses emacs debate. I
suppose as long as it doesn't kill me I should give it a try, though I'm
not certain what impact it will have on the health of my soul ... :D )
~A
On Thursday, September 20, 2012, Daniel Owens wrote:
> 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<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<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<http://www.crosswire.org/mailman/listinfo/sword-devel>
> Instructions to unsubscribe/change your settings at above page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20120921/95c932ac/attachment.html>
More information about the sword-devel
mailing list