Validate XML File: No grammar constraints detected [message #165385] |
Thu, 30 March 2006 16:13 |
Eclipse User |
|
|
|
Originally posted by: born.oio.de
Hi,
i've got a XML File with XSD (without Namespace). Sth. like that:
<?xml version="1.0" encoding="UTF-8"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../src/xml-schema/article.xsd ">
<head>head</head>
<article/>
</page>
(generated stub)
Eclipse and WTP are suggesting possible Elements (knowing the strucutre),
but if i try to validate: "The XML File is well formed. Warning: No
grammar constraints detected for the document"
Can any body tell me wy?
Thx!
Der Matze
|
|
|
|
|
Re: Validate XML File: No grammar constraints detected [message #165488 is a reply to message #165464] |
Fri, 31 March 2006 09:35 |
Eclipse User |
|
|
|
Originally posted by: born.oio.de
yes, craig is right.
it worked fine before wtp 1.0. (0.7 ore sth. i can't remember)
my stub was only an example for you, the original files are much more
complex. these files were opened and closed very often, so i'm shure, that
wouldn'd solve my problem.
are you shure, that adding a namespace (targetNamespace) to the schema
will solve the problem. i must know this before changing all schema and
sources.
thx!
matze
|
|
|
|
Powered by
FUDForum. Page generated in 0.03513 seconds