Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 adamFriend
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: Fri Apr 19 08:22:45 GMT 2024

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

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

Back to the top