Declaring an xml document ?
"Benedykt P. Barszcz" <[email protected]> Sat, 12 Jun 2004 16:49:31 +0200
| Newsgroups | gmane.editors.pollo.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi list,
I am having problems declaring an xml document.
When I put this at the beginning of a file:
<?xml version="1.0" encoding="UTF-8"?>
<osis xmlns="http://www.bibletechnologies.net/2003/OSIS/namespace"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://www.bibletechnologies.net/2003/OSIS/namespace
osisCore.2.0.1.xsd">
</osis>
...then upon validation (Schema -> validate document) Pollo says:
unexpected attribute xmlns.
Anyone knows why?
Thanks for any answers.
Benedict
And this here is what's at the top of the schema file (osisCore.2.0.1.xsd):
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
targetNamespace="http://www.bibletechnologies.net/2003/OSIS/namespace"
xmlns="http://www.bibletechnologies.net/2003/OSIS/namespace"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified"
xml:lang="en">
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
<xs:annotation>
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504