Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » attribute reference unresolved - must be basic answer
attribute reference unresolved - must be basic answer [message #594759] Wed, 20 April 2005 14:54
adam is currently offline adam
Messages: 7
Registered: July 2009
Junior Member
Hi,
during installation of the eclipse subversion plugin, I 'inherited' the
XSD plugin too. Now my eclipse 'problems' list is showing errors in
schemas in my project.

I have googled and searched this mailing list without finding a
solution. Perhaps someone can recognise what basic mistake I'm making -
and I'm sure it must be basic :(

XSD: Attribute reference 'http://www.w3.org/XML/1998/namespace#lang' is
unresolved

comes from this line of schema:

<xs:attribute ref="xml:lang" default="en"/>

which imports the schema mentioned in the error msg like so:

<xs:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/xml.xsd"/>

I have actually downloaded the xml.xsd schema and placed it in the same
directory, and I have this directory loaded as a class folder resource
in the .classpath for my project like so:

<classpathentry kind="lib" path="docs/Design/schemas"/>


Thanks
Adam
Previous Topic:How to test if a type is a base type ?
Next Topic:How to check if a simple type is a restriction of a base type ?
Goto Forum:
  


Current Time: Thu Oct 23 05:16:55 GMT 2014

Powered by FUDForum. Page generated in 0.32825 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software