Skip to content
Snippets Groups Projects
Commit 6683b5c0 authored by langella's avatar langella
Browse files

fixed xml namespace declaration

git-svn-id: https://subversion.renater.fr/xtandempipeline/trunk@318 b8ef2a07-7df7-436f-90b9-41648038564b
parent e098948f
No related branches found
No related tags found
No related merge requests found
......@@ -78,13 +78,16 @@ public class ProticDbMlWriter {
protected void initialize() throws XMLStreamException, ProticPortException {
logger.debug("write begin");
duracel = System.currentTimeMillis();
// xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
writer.setPrefix("xsi", xmlnsxsi);
// writer.setDefaultNamespace(namespaceURI);
writer.writeStartElement("PROTICdb");
// writer.writeNamespace("xsi", xmlnsxsi);
writer.writeNamespace("xsi", xmlnsxsi);
// writer.writeDefaultNamespace(namespaceURI);
// writer.writeAttribute(xmlnsxsi, "schemaLocation", xsischemaLocation);
//writer.writeAttribute("xmlns", "xsi", xmlnsxsi);
writer.writeAttribute(xmlnsxsi, "noNamespaceSchemaLocation",
xsischemaLocation);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment