XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] The prefix "fgdc" for element "fgdc:fgdc" is not bound

I've been going through the XML Namespaces and am wondering if this will
work?


<fgdc xmlns:fgdc="http://www.fgdc.gov/metadata/csdgm/index_html";>
...
</fgdc>

Thanks,

Tim Lepczyk



-----Original Message-----
From: Michael Kay [mailto:mike@saxonica.com] 
Sent: Tuesday, December 11, 2007 12:26 PM
To: 'Anne Thomas Manes'; Timothy Lepczyk
Cc: xml-dev@lists.xml.org
Subject: RE: [xml-dev] The prefix "fgdc" for element "fgdc:fgdc" is not
bound

> 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>
> 

Sadly, no. XML Namespaces 1.1 allows the syntax xmlns:fgdc="", but it
doesn't bind the prefix fgdc to the
namespace-that-dare-not-speak-its-name,
rather it makes the fgdc prefix unavailable for use.

Michael Kay
http://www.saxonica.com/


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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS