[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: The prefix "fgdc" for element "fgdc:fgdc" is not bound

  • From: "Anne Thomas Manes" <atmanes@g...>
  • To: "Timothy Lepczyk" <tlepczyk@w...>
  • Date: Tue, 11 Dec 2007 11:18:59 -0500

Re:  The prefix "fgdc" for element "fgdc:fgdc" is not bound
Tim,

In addition to the two suggestions Mike and Michael made, you should
also make sure that the declared namespace URI and schemaLocation URL
are correct.

I checked the schemaLocation URL -- it goes to the FGDC government
Geospacial Metadata Standards web site. It is not the URL of the
schema. I was eventually able to find the schema by navigating through
the site, but a schema validation routine would not be able to. I also
noticed that the schema does not specify a targetNamespace, so there
is, in fact, no fdgc namespace to reference. I also noticed that there
is no such element named "fdgc". Your metadata record should start
with the metadata element.

Because the elements don't belong to a namespace, you have two
options. Either just don't qualify these elements with the "fdgc"
prefix (assuming you have not declared a default namespace), or if you
prefer to make it clear to readers of the document that these elements
come from the FDGC metadata standard, you can assign the fdgc prefix
to no namespace:

          <fgdc:metadata xmlns:fgdc="">
             ...
          </fgdc:metadata>

Anne


On Dec 10, 2007 1:07 PM, Timothy Lepczyk <tlepczyk@w...> wrote:
>
>
>
>
> Hi,
>
>
>
> I'm trying to place a small metadata record of GIS information into TEI XML.
> However, I keep on getting this error message, that the element is not
> bound.  Here is the file:
>
>
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <fgdc:fgdc xmls:fgdc="http://www.fgdc.gov/metadata/csdgm/index_html"
> xmls:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemnaLocation="http://www.fgdc.gov/metadata/geospatial-metadata-standards">
>
>     <fgdc:metadata>
>
>     <fgdc:spdom>
>
>         <fgdc:bounding>
>
>             <fgdc:westbc>-90.287159</fgdc:westbc>
>
>             <fgdc:eastbc>-90.248891</fgdc:eastbc>
>
>             <fgdc:northbc>38.551635</fgdc:northbc>
>
>             <fgdc:southbc>38.528151</fgdc:southbc>
>
>         </fgdc:bounding>
>
>     </fgdc:spdom>
>
>     </fgdc:metadata>
>
> </fgdc:fgdc>
>
>
>
>
>
>
>
>
>
> Does anyone have suggestions?
>
>
>
> Thanks in advance,
>
>
>
>
>
> Tim Lepczyk
>
>
>
>
>
>
>
>
>
>
>
> Timothy A. Lepczyk
>
> Metadata Librarian
>
> Digital Library Services
>
> Washington University Libraries
>
> Campus Box 1061
>
> One Brookings Drive
>
> St. Louis, MO 63130
>
>
>
> Tel: 314.935.8934
>
> Email: tlepczyk@w...
>
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.