Skip to content

Commit

Permalink
3. Data Streams : Serialization #117
Browse files Browse the repository at this point in the history
- Renamed FileStream folder because of conflict.
- UT 👎
  • Loading branch information
mpostol committed Aug 7, 2018
1 parent 280ac56 commit ff6eb48
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ namespace TP.DataStreams.Instrumentation {
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://tempuri.org/Catalog.xsd")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://tempuri.org/Catalog.xsd", IsNullable=false)]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://Viculu34.org/Catalog.xsd")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://Viculu34.org/Catalog.xsd", IsNullable=false)]
public partial class Catalog {

private CatalogCD[] cdField;

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("cd")]
[System.Xml.Serialization.XmlElementAttribute("CD")]
public CatalogCD[] CD {
get {
return this.cdField;
Expand All @@ -43,7 +43,7 @@ public CatalogCD[] CD {
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://tempuri.org/Catalog.xsd")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://Viculu34.org/Catalog.xsd")]
public partial class CatalogCD {

private string titleField;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/Catalog.xsd" elementFormDefault="qualified" targetNamespace="http://tempuri.org/Catalog.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:schema xmlns:tns="http://Viculu34.org/Catalog.xsd" elementFormDefault="qualified" targetNamespace="http://Viculu34.org/Catalog.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Catalog">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="cd">
<xs:element minOccurs="0" maxOccurs="unbounded" name="CD">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="title" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="artist" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="country" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="company" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="price" type="xs:decimal" />
<xs:element minOccurs="1" maxOccurs="1" name="year" type="xs:unsignedShort" />
<xs:element minOccurs="0" maxOccurs="1" name="Title" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="Artist" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="Country" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="Company" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="Price" type="xs:decimal" />
<xs:element minOccurs="1" maxOccurs="1" name="Year" type="xs:unsignedShort" />
</xs:sequence>
</xs:complexType>
</xs:element>
Expand Down

0 comments on commit ff6eb48

Please sign in to comment.