Warning: no DTD/Schema detected for the document [message #719807] |
Mon, 29 August 2011 05:37 |
MarcoGT Messages: 77 Registered: May 2011 |
Member |
|
|
I have this xml file:
<?xml version="1.0" encoding="UTF-8"?>
<Test label="test" name="test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aa="http://mydomain/Schema/AA/AA"
xmlns="http://mydomain/Schema/BB/bb"
xsi:schemaLocation="http://mydomain/Schema/schemaTest.xsd">
And I get the warning "no DTD/Schema detected for the document"
Why?
The XSD is defined...
Thanks
Marco
[Updated on: Mon, 29 August 2011 05:44] Report message to a moderator
|
|
|
Re: Warning: no DTD/Schema detected for the document [message #719938 is a reply to message #719807] |
Mon, 29 August 2011 14:20 |
|
Are you getting any other messages about that file? As it is, it's invalid because there's no end tag for the Test start tag. That could cause the XML Validator to not be able to finish parsing (it's more strict about that than the editor) and think it never saw your attributes.
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03957 seconds