jEdit Community - Resources for users of the jEdit Text Editor
can't reference schema using XML catalogs
Submitted by kefl on Tuesday, 3 October, 2006 - 18:51

I'm having trouble getting the XML plugin to use an XML catalog to locate the schema referenced by my document. Can anybody help? Assuming all three documents (document to be edited, referenced schema and XML catalog) are in the same folder, I would expect the following to work:

root element of edited document:
<Ace
xmlns="http://www.birdstep.com/xml/schemas/acedb"
xsi:schemaLocation="http://www.birdstep.com/xml/schemas/acedb http://www.birdstep.com/xml/schemas/acedb.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>

catalog element in catalog document:
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public">
<public publicId="http://www.birdstep.com/xml/schemas/acedb" uri="acedb.xsd"/>
</catalog>

If http://www.birdstep.com/xml/schemas/acedb.xsd is not available, I would expect the editor to look up http://www.birdstep.com/xml/schemas/acedb in the catalog and so find acedb.xsd in the current folder.

What actually happens is that the editor returns HTTP 403. I've tried endless variations on the above setup, all with no luck...

PS. I have added my catalog to the list of catalogs in the XML plug-in's options.

User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293