2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.sal.restconf.iml.varioustests;
10 import org.junit.Ignore;
11 import org.junit.Test;
12 import org.opendaylight.controller.sal.rest.impl.XmlToCompositeNodeProvider;
13 import org.opendaylight.controller.sal.restconf.impl.test.TestUtils;
14 import org.opendaylight.yangtools.yang.data.api.CompositeNode;
15 import org.w3c.dom.Document;
18 public class VariousTest {
23 String[] split = "/something:dfsa/s:sda".split("/");
24 System.out.println(split.length);
25 for (String str : split) {
26 System.out.println(">"+str+"<");
32 public void loadXml() {
33 TestUtils.readInputToCnSn("/varioustest/xmldata.xml", XmlToCompositeNodeProvider.INSTANCE);
34 // TestUtils.normalizeCompositeNode(compositeNode, modules, schemaNodePath)
38 public void buildXml() {
40 // doc.createElementNS(namespaceURI, qualifiedName)