jEdit with the XML plugin might also be worth looking into. Contrary to
the wikipedia page, it does have auto-completion for elements with XSD
completion.
--
David Winslow
OpenGeo - http://opengeo.org/
On Wed, Jun 12, 2013 at 2:02 AM, Andrea Aime
<[email protected]>wrote:
> On Wed, Jun 12, 2013 at 4:19 AM, Ben Caradoc-Davies <
> [email protected]> wrote:
>
>> Found it.
>>
>> I pasted the entirety of your original mapping file into a validating
>> XML editor (Eclipse JEE) with AppSchemaDataAccess.xsd in the same
>> directory. Your mapping file is schema-invalid because of a misspelled
>> element:
>>
>> <AttributeMappings> should be <attributeMappings>
>>
>> Because the mapping file parser is nonvalidating and only looks for
>> child elements of <attributeMappings> and finds none, your mapping is
>> ignored, resulting in a lack of content.
>>
>> I strongly recommend the use of a validating XML editor for correctness
>> and helpful documentation and completion suggestions when editing.
>>
>
> Ben, is the mapping document read only once by the app schema store, and
> then used over and over, or does it have to read it on a per request basis?
> If it's the former, why not activate schema validation during the read and
> report
> errors accordingly?
>
> Many people use simple text editors to do all their editing, including XML,
> I've already searched in the past for some light weight editor that also
> has
> schema validation and auto completion support, but could not find one...
> Just stumbled into this one now:
> http://en.wikipedia.org/wiki/Comparison_of_XML_editors
> Haven't tried but this one looks like an interesting solution that I did
> not know about:
> http://xml-copy-editor.sourceforge.net/index.php?page=ubuntu
>
> Cheers
> Andrea
>
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39 339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users