<?xml version="1.0" encoding="UTF-8"?>

<!--
 Copyright (c) 2005 Erik Bengtson and others.
 All rights reserved. This program and the accompanying materials
 are made available under the terms of the JPOX License v1.0
 which accompanies this distribution.
-->

<!NOTATION JPOX.1_0 PUBLIC
          "-//Java Persistent Objects//DTD JPOX Datastore Mapping 1.0//EN">
<!--
This is the XML DTD for the JPOX Datastore Mapping 1.0.
All JPOX Types 1.0 metadata descriptors must include a DOCTYPE
of the following form:

<!DOCTYPE datastoremapping
    PUBLIC "-//Java Persistent Objects//DTD JPOX Datastore Mapping 1.0//EN"
    "http://www.jpox.org/dtd/datastoremappings_1_0.dtd">
-->

<!ELEMENT datastore-mappings ((mapping)*)>

<!ELEMENT mapping (includes*,excludes*)>
<!ATTLIST mapping java-type CDATA #REQUIRED>
<!ATTLIST mapping rdbms-mapping-class CDATA #REQUIRED>
<!ATTLIST mapping jdbc-type CDATA #IMPLIED>
<!ATTLIST mapping sql-type CDATA #IMPLIED>
<!ATTLIST mapping java-version (1.3|1.4|1.5|1.6) #IMPLIED>
<!ATTLIST mapping java-version-restrict (true|false) #IMPLIED>
<!ATTLIST mapping default (true|false) #IMPLIED>

<!ATTLIST includes vendor-id CDATA #REQUIRED>
<!ATTLIST excludes vendor-id CDATA #REQUIRED>

