Incorrect urls in .leo header info

Bug #1178661 reported by Jake Peck
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
leo-editor
Fix Released
Medium
Edward K. Ream

Bug Description

The headers of any given .leo file are as follows:

----
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by Leo (http://webpages.charter.net/edreamleo/front.html) -->
<?xml-stylesheet ekr_test?>
<leo_file xmlns:leo="http://www.leo-editor.org/2011/leo" >
----

The second and fourth line point to incorrect urls.

The second line should point to http://leoeditor.com/
The fourth line has always been incorrect so far as I've seen, but there's no reason why it couldn't be switched to http://leoeditor.com/2011/leo.

This is very minor - neither of these are important, nor affect anything as far as I can tell - purely cosmetic.

Changed in leo-editor:
importance: Undecided → Medium
assignee: nobody → Edward K. Ream (edreamleo)
milestone: none → 4.11-b1
status: New → Confirmed
Revision history for this message
tbnorth (terry-n-brown) wrote : Re: [Bug 1178661] [NEW] Incorrect urls in .leo header info

On Fri, 10 May 2013 12:38:48 -0000
Jake Peck <email address hidden> wrote:

> <leo_file xmlns:leo="http://www.leo-editor.org/2011/leo" >
> ----
>
> The second and fourth line point to incorrect urls.
>
> The second line should point to http://leoeditor.com/

Yes, the second line's just a comment, it can be changed freely.

> The fourth line has always been incorrect so far as I've seen, but there's no reason why it couldn't be switched to http://leoeditor.com/2011/leo.

In theory, this should not be changed lightly. My somewhat blurry
understanding: it's a namespace, not a schema location, so it doesn't
have to point at something that exists, just something that's unique and
invariant, and, ideally, definitively belonging to the same "entity" as
the thing for which it is a namespace. So I think people use URLs for
namespaces because they're intrinsically unique to an entity. Changing
it will break any namespace aware processors of Leo files.

In practice, I doubt there are any namespace aware processors of Leo
files, so changing it is probably not that big a deal, *except* that
namespace aware XML environments will see otherwise identical Leo files
as different animals if the namespaces don't match.

Cheers -Terry

Changed in leo-editor:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.