Noob here…
Trying to define a style with a multitude rules and symbols I’ve designed as PNG files. I have the following in my XML within the ExternalGraphic tag:
image/png
Taken almost directly from GS Docs.
Cannot get the XML to validate, returns the following…
“org.xml.sax.SAXParseException: The prefix “xlink” for attribute “xlink:type” associated with an element type “OnlineResource” is not bound.”
Im at a loss.
Thanks for any help!
–
Jason M. Wheatley, GISP
Just wondering: did you reference the xlink namespace in the StyledLayerDescriptor tag of the SLD file? Like so:
I 've also attached a small snippet of an SLD that uses an external graphic.
Rrgards,
Edward
Date: Fri, 16 Dec 2011 11:10:42 -0500
From: jmwgeospatial@anonymised.com
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] SLD XML Formatting
Noob here…
Trying to define a style with a multitude rules and symbols I’ve designed as PNG files. I have the following in my XML within the ExternalGraphic tag:
image/png
Taken almost directly from GS Docs.
Cannot get the XML to validate, returns the following…
“org.xml.sax.SAXParseException: The prefix “xlink” for attribute “xlink:type” associated with an element type “OnlineResource” is not bound.”
Im at a loss.
Thanks for any help!
–
Jason M. Wheatley, GISP
------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
sld-example.xml (1.73 KB)
You got it Edward. Thanks! I should have looked at the namespace first. Again, noob. Thanks again.
On Fri, Dec 16, 2011 at 4:00 PM, Edward Mac Gillavry <emacgillavry@anonymised.com> wrote:
Just wondering: did you reference the xlink namespace in the StyledLayerDescriptor tag of the SLD file? Like so:
I 've also attached a small snippet of an SLD that uses an external graphic.
Rrgards,
Edward
Date: Fri, 16 Dec 2011 11:10:42 -0500
From: jmwgeospatial@anonymised.com
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] SLD XML Formatting
Noob here…
Trying to define a style with a multitude rules and symbols I’ve designed as PNG files. I have the following in my XML within the ExternalGraphic tag:
image/png
Taken almost directly from GS Docs.
Cannot get the XML to validate, returns the following…
“org.xml.sax.SAXParseException: The prefix “xlink” for attribute “xlink:type” associated with an element type “OnlineResource” is not bound.”
Im at a loss.
Thanks for any help!
–
Jason M. Wheatley, GISP
------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Jason M. Wheatley, GISP
Senior GIS Analyst
Century Engineering, Inc.
Hunt Valley, Maryland