Skip to content

Commit 804bf64

Browse files
committed
Fix schema
1 parent 1bfeb3e commit 804bf64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

project/transform.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ void DivElem::startElement (const char* const name, const xercesc::Attributes &a
5353

5454
// CONFIGURATION: Add schemas here
5555
if ( type.compare("Monograph")==0 ){
56-
append = " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://downloads.bnl.lu/schemas/bnl-monograph_v2.1.xsd\" xsi:schemaLocation=\"http://downloads.bnl.lu/schemas/bnl-monograph_v2.1.xsd bnl-monograph_v2.1.xsd\" ";
56+
append = " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://downloads.bnl.lu/schemas/bnl-monograph_v2.2.xsd\" xsi:schemaLocation=\"http://downloads.bnl.lu/schemas/bnl-monograph_v2.2.xsd bnl-monograph_v2.2.xsd\" ";
5757
}else if ( type.compare("Newspaper")==0 ){
5858
append = " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://downloads.bnl.lu/schemas/bnl-newspaper_v1.5.xsd\" xsi:schemaLocation=\"http://downloads.bnl.lu/schemas/bnl-newspaper_v1.5.xsd bnl-newspaper_v1.5.xsd\" ";
5959
}else if ( type.compare("Serial")==0 ){
60-
append = " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://downloads.bnl.lu/schemas/bnl-monograph_v2.1.xsd\" xsi:schemaLocation=\"http://downloads.bnl.lu/schemas/bnl-monograph_v2.1.xsd bnl-monograph_v2.1.xsd\" ";
60+
append = " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://downloads.bnl.lu/schemas/bnl-monograph_v2.2.xsd\" xsi:schemaLocation=\"http://downloads.bnl.lu/schemas/bnl-monograph_v2.2.xsd bnl-monograph_v2.2.xsd\" ";
6161
//append = " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://downloads.bnl.lu/schemas/bnl-serial_v1.1.xsd\" xsi:schemaLocation=\"http://downloads.bnl.lu/schemas/bnl-serial_v1.1.xsd bnl-serial_v1.1.xsd\" ";
6262
}else if ( type.compare("StatSerial")==0 ){
63-
append = " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://downloads.bnl.lu/schemas/bnl-monograph_v2.1.xsd\" xsi:schemaLocation=\"http://downloads.bnl.lu/schemas/bnl-monograph_v2.1.xsd bnl-monograph_v2.1.xsd\" ";
63+
append = " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://downloads.bnl.lu/schemas/bnl-monograph_v2.2.xsd\" xsi:schemaLocation=\"http://downloads.bnl.lu/schemas/bnl-monograph_v2.2.xsd bnl-monograph_v2.2.xsd\" ";
6464
//append = " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://downloads.bnl.lu/schemas/bnl-statserial_v1.0.xsd\" xsi:schemaLocation=\"http://downloads.bnl.lu/schemas/bnl-statserial_v1.0.xsd bnl-statserial_v1.0.xsd\" ";
6565
}else{
6666
append = " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://BNL.Namespace/\" xsi:schemaLocation=\"http://BNL.Namespace/ bnl-monograph_v1.0.xsd\" ";

0 commit comments

Comments
 (0)