Project

General

Profile

« Previous | Next » 

Revision ad89c499

Added by Andreas Müller about 3 years ago

ref #5095 change dozer mapping from .dtd to .xsd

View differences:

cdmlib-remote/src/main/resources/eu/etaxonomy/cdm/remote/dto/dwc/mappings.xml
1 1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE mappings PUBLIC "-//DOZER//DTD MAPPINGS//EN"
3
    "http://dozer.sourceforge.net/dtd/dozerbeanmapping.dtd">
4
<mappings>
2
<mappings xmlns="http://dozer.sourceforge.net" 
3
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
    xsi:schemaLocation="http://dozer.sourceforge.net
5
      http://dozer.sourceforge.net/schema/beanmapping.xsd">
6
      
5 7
     <!-- 
6 8
        =================================
7 9
          Mapping for Simple Darwin Core
cdmlib-remote/src/main/resources/eu/etaxonomy/cdm/remote/dto/oaipmh/mappings.xml
1 1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE mappings PUBLIC "-//DOZER//DTD MAPPINGS//EN"
3
    "http://dozer.sourceforge.net/dtd/dozerbeanmapping.dtd">
4
<mappings>
2
<mappings xmlns="http://dozer.sourceforge.net" 
3
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
    xsi:schemaLocation="http://dozer.sourceforge.net
5
      http://dozer.sourceforge.net/schema/beanmapping.xsd">
6

  
5 7
    <!-- 
6 8
        ===============================================
7 9
         Mapping for OAI-PMH Header and OAI-DublinCore
cdmlib-remote/src/main/resources/eu/etaxonomy/cdm/remote/dto/tdwg/mappings-deep.xml
1 1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE mappings PUBLIC "-//DOZER//DTD MAPPINGS//EN"
3
    "http://dozer.sourceforge.net/dtd/dozerbeanmapping.dtd">
4
    
5
<mappings>       
2
<mappings xmlns="http://dozer.sourceforge.net" 
3
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
    xsi:schemaLocation="http://dozer.sourceforge.net
5
      http://dozer.sourceforge.net/schema/beanmapping.xsd">
6
     
6 7
    <!-- description package -->
7 8
    <mapping>
8 9
        <class-a>eu.etaxonomy.cdm.model.description.DescriptionBase</class-a>
cdmlib-remote/src/main/resources/eu/etaxonomy/cdm/remote/dto/tdwg/mappings-shallow.xml
1 1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE mappings PUBLIC "-//DOZER//DTD MAPPINGS//EN"
3
    "http://dozer.sourceforge.net/dtd/dozerbeanmapping.dtd">
4
    
5
<mappings>   
2
<mappings xmlns="http://dozer.sourceforge.net" 
3
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
    xsi:schemaLocation="http://dozer.sourceforge.net
5
      http://dozer.sourceforge.net/schema/beanmapping.xsd">
6 6
    
7 7
    <!-- taxon package -->
8 8
    
cdmlib-remote/src/main/resources/eu/etaxonomy/cdm/remote/dto/tdwg/mappings.xml
1 1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE mappings PUBLIC "-//DOZER//DTD MAPPINGS//EN"
3
    "http://dozer.sourceforge.net/dtd/dozerbeanmapping.dtd">
4
<mappings>   
2
<mappings xmlns="http://dozer.sourceforge.net" 
3
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
    xsi:schemaLocation="http://dozer.sourceforge.net
5
      http://dozer.sourceforge.net/schema/beanmapping.xsd">
6
  
5 7
    <!-- agent package -->
6 8
    <mapping>
7 9
        <class-a>eu.etaxonomy.cdm.model.agent.Person</class-a>

Also available in: Unified diff