Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 1854

Show
Ignore:
Timestamp:
06/19/07 23:08:38 (1 year ago)
Author:
nahi
Message:
  • just fixed typo in a sample.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/sample/marshal/enum/enum.xsd

    r1796 r1854  
    33    xmlns="http://www.w3.org/2001/XMLSchema" 
    44    xmlns:txd="urn:org.example.enumsample" 
     5    xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
    56    targetNamespace="urn:org.example.enumsample"> 
    67 
    7   <complexType name="hobit.type"> 
     8  <complexType name="hobbit.type"> 
    89    <sequence> 
    9       <element name="name" type="txd:hobbit.name"/> 
     10      <element name="name" type="txd:hobbit.name.type"/> 
    1011      <element name="age" type="xsd:int"/> 
    1112    </sequence> 
  • trunk/sample/marshal/enum/enumsample.rb

    r1796 r1854  
    11require 'xsd/qname' 
    22 
    3 # {urn:org.example.enumsample}hobit.type 
    4 class HobitType 
     3# {urn:org.example.enumsample}hobbit.type 
     4class HobbitType 
    55  attr_accessor :name 
    66  attr_accessor :age