Removed CableLabs.xsd and generated files.

It was an experiment.
Signed-off-by: default <>
parent 73d4c86b
......@@ -64,7 +64,7 @@
<target name="compile" depends="init,xml,copyfiles">
<target name="compile" depends="init,copyfiles">
<echo message="Compiling sources ... "/>
<copy file="${aboutfile}" toFile="${aboutfile}.bak" preservelastmodified="true"/>
<copy file="${mainfile}" toFile="${mainfile}.bak" preservelastmodified="true"/>
......@@ -84,24 +84,6 @@
<move file="${mainfile}.bak" tofile="${mainfile}"/>
<target name="xml" depends="init">
<property name="xjchome" value="external/jaxb-ri-2.2.7"/>
<taskdef name="xjc" classname="">
<fileset dir="${xjchome}/lib" includes="*.jar" excludes="ant.jar"/>
<!-- <fileset dir="../../..">
<include name="jaxp/**/*.jar"/>
<include name="jwsdp-shared/lib/**/*.jar"/>
<xjc destdir="${src.dir}" removeOldOutput="yes" package="com.cablelabs.cfgeditor.models.xml">
<schema dir="${src.models.dir}" includes="CableLabs.xsd"/>
<produces dir="${src.xml.dir}" includes="**/*"/>
<target name="copyfiles" depends="init,release.version">
<echo message="Creating directories ..."/>
<mkdir dir="${dist.resources.dir}"/>
......@@ -164,7 +146,6 @@
<target name="clean" depends="init">
<delete dir="${build.dir}"/>
<delete dir="${dist.dir}"/>
<delete dir="${src.xml.dir}"/>
<move file="${aboutfile}.bak" tofile="${aboutfile}" quiet="true" failonerror="false"/>
<move file="${mainfile}.bak" tofile="${mainfile}" quiet="true" failonerror="false"/>
......@@ -98,5 +98,4 @@ src.dir=src
<xs:schema xmlns:xs="">
<xs:simpleType name="lenType">
<xs:restriction base="xs:unsignedByte">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="2"/>
<xs:element name="tlvDefs">
<xs:element name="tlv" maxOccurs="unbounded">
<xs:element name="description">
<xs:complexType mixed="true">
<xs:any processContents="skip"/>
<xs:element name="validValues" type="xs:string" minOccurs="0"/>
<xs:element name="defaultValue" type="xs:string" minOccurs="0"/>
<xs:attribute name="Type" type="xs:string" use="required"/>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="AltName" type="xs:string"/>
<xs:attribute name="DataType" type="xs:string" use="required"/>
<xs:attribute name="DataLength" type="xs:string"/>
<xs:attribute name="Split" type="xs:string"/>
<xs:attribute name="ZeroLenOk" type="xs:string"/>
<xs:attribute name="tlvTypeSize" type="lenType" default="1"/>
<xs:attribute name="tlvLengthSize" type="lenType" default="1"/>
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href=""></a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.10.17 at 02:28:54 PM MDT
package com.cablelabs.cfgeditor.models.xml;
import javax.xml.bind.annotation.XmlRegistry;
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.cablelabs.cfgeditor.models.xml package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
public class ObjectFactory {
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.cablelabs.cfgeditor.models.xml
public ObjectFactory() {
* Create an instance of {@link TlvDefs }
public TlvDefs createTlvDefs() {
return new TlvDefs();
* Create an instance of {@link TlvDefs.Tlv }
public TlvDefs.Tlv createTlvDefsTlv() {
return new TlvDefs.Tlv();
* Create an instance of {@link TlvDefs.Tlv.Description }
public TlvDefs.Tlv.Description createTlvDefsTlvDescription() {
return new TlvDefs.Tlv.Description();
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment