namespace compliance
Posted: Tue Jun 17, 2003 4:31 pm
Hello,
The following xml document is valid (I have checked using several other parsers) but Oxygen generates the following errors which indicates the oxygen parser is not namespace aware. IMHO this is a big problem.
Errors:
- [ books.xml] E Attribute "xmlns" must be declared for element type "books". (5:1)
- [ books.xml] E Attribute "xmlns:xsi" must be declared for element type "books". (5:1)
- [ books.xml] E Attribute "xsi:schemaLocation" must be declared for element type "books". (5:1)
Is there a different parser I can select for use with Oxygen?
Thanks,
pete
The following xml document is valid (I have checked using several other parsers) but Oxygen generates the following errors which indicates the oxygen parser is not namespace aware. IMHO this is a big problem.
Errors:
- [ books.xml] E Attribute "xmlns" must be declared for element type "books". (5:1)
- [ books.xml] E Attribute "xmlns:xsi" must be declared for element type "books". (5:1)
- [ books.xml] E Attribute "xsi:schemaLocation" must be declared for element type "books". (5:1)
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE books SYSTEM "zwiftbooks.dtd">
<books xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.zwiftbooks.com zwiftbooks.xsd"
xmlns="http://www.zwiftbooks.com">
<book>
<isbn>0-596-0058-8</isbn>
<title>XML in a Nutshell</title>
<author>Harold, Elliotte Rusty</author>
</book>
</books>
Thanks,
pete