![]() |
ÀÖ»çÁÉ£². |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Ǧºä£²(¦Á) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| akaxiso2.0-beta1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ǧºä£²¤Ï¡¢XML-Schema¥É¥¥å¥á¥ó¥È¤«¤é¡¢¥·¥ê¥¢¥é¥¤¥¶¥Ö¥ë¤Ê¥¯¥é¥¹¤òÀ¸À®¤¹¤ë¤¿¤á¤Î¥¹¥¡¼¥Þ¥³¥ó¥Ñ¥¤¥é¤Ç¤¹¡£ ¥³¥Þ¥ó¥É¥é¥¤¥ó osixaka2 [-p] [-d] [-o ¥Ç¥£¥ì¥¯¥È¥ê̾] [-D] [-L ÀßÄê¥Õ¥¡¥¤¥ë̾] [-S ÀßÄê¥Õ¥¡¥¤¥ë̾] <XMLʸ½ñ ¥Õ¥¡¥¤¥ë> ¥ª¥×¥·¥ç¥ó
Îã¤È¤·¤Æ¡¢Ç¦ºä£²¤Ë¤è¤ë¡¢XML Schema¤Î¤¿¤á¤Î¥¹¥¡¼¥Þʸ½ñÀ¸À®¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£ XMLSchema¤Ï¡¢°Ê²¼¤ÎÆó¤Ä¤Î¥¹¥¡¼¥Þʸ½ñ¤Ë¤è¤êÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¥ª¥ê¥¸¥Ê¥ë¤Î¥¹¥¡¼¥Þ¤Ç¤¹¡£
Á°½èÍý¤ò»Ü¤·¤¿¥Õ¥¡¥¤¥ë¤Ï¡¢akaxiso2/osixaka2°Ê²¼¤Ë¤¢¤ê¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤ò»ÈÍѤ·¤Æ¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£ Windows¤Î¾ì¹ç(akaxiso2\bin¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Æ) akaxiso2\bin> osixaka2 ..\osixaka2\XMLSchema.xsd Linux¤Î¾ì¹ç(akaxiso2/osixaka2¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Æ) $ ./osixaka2 XMLSchema.xsd ¤³¤ÎÁàºî¤Ë¤è¤ê¡¢element.h/xiso.h/xiso.cpp¤Î»°¤Ä¤Î¥Õ¥¡¥¤¥ë¤¬À¸À®¤µ¤ì¤Þ¤¹¡£¤½¤ì¤¾¤ì¤ÎÆâÍÆ¤ò°Ê²¼¤Ë¼¨¤·¤Þ¤¹¡£
°Ê¾å¤Î¥Õ¥¡¥¤¥ë¤ò¥³¥ó¥Ñ¥¤¥ë¤·¡¢ÀÖ»çÁɥ饤¥Ö¥é¥ê¤È¥ê¥ó¥¯¤¹¤ë¤³¤È¤Ç¡¢XML Schema¥É¥¥å¥á¥ó¥È¤Î¥·¥ê¥¢¥é¥¤¥º¡¢¥Ç¥·¥ê¥¢¥é¥¤¥º¤¬²Äǽ¤È¤Ê¤ê¤Þ¤¹¡£¥Ç¥·¥ê¥¢¥é¥¤¥º¡¢¥·¥ê¥¢¥é¥¤¥º¤¹¤ë¤¿¤á¤Î¥µ¥ó¥×¥ë¥³¡¼¥É¤Ï¡¢osixaka2/test_main.cpp¡ÊHTMLÈǡˤò¤´»²¾È¤¯¤À¤µ¤¤¡£ ÀßÄê¥Õ¥¡¥¤¥ë ÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢°Ê²¼¤Î¹àÌܤòÀßÄê²Äǽ¤Ç¤¹¡£ÀßÄê¥Õ¥¡¥¤¥ë¤Ï¡¢XML¥É¥¥å¥á¥ó¥È¤Ç¤¹¡£
ÀßÄê¥Õ¥¡¥¤¥ë¤ÎºîÀ®¤È»ÈÍÑ -S¡¢-L¥ª¥×¥·¥ç¥ó¤òÍѤ¤¤Æ¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤ÎºîÀ®¤È»ÈÍѤò¹Ô¤¤¤Þ¤¹¡£ ÀßÄê¥Õ¥¡¥¤¥ë¤ÎºîÀ® akaxiso2/osixaka2/osixaka1.xml ¥Õ¥¡¥¤¥ë¤Ï¡¢µìǦºä¤È¸ß´¹¤Ê¥Õ¥¡¥¤¥ë¤òÀ¸À®¤¹¤ë¤¿¤á¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤¹¡£ $ osixaka2 -L osixaka1.xml <XML Schema¥É¥¥å¥á¥ó¥È¥Õ¥¡¥¤¥ë̾> ¤È¤¹¤ë¤³¤È¤Ç¡¢(µì)Ǧºä¤È¸ß´¹¤Ê¥Õ¥¡¥¤¥ë¤òÀ¸À®¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ °Ê²¼¡¢¥Ç¥Õ¥©¥ë¥È¤Ç»ÈÍѤµ¤ì¤ëÀßÄê¥Õ¥¡¥¤¥ë¤ò¼¨¤·¤Þ¤¹¡£ <?xml version="1.0" encoding="Shift_JIS" standalone="yes"?>
<osx:preference xmlns:osx="http://akaxiso.sourceforge.jp/osixaka/preference">
<choice_container type="std::list"/>
<array_container type="std::list"/>
<member_format prefix="" postfix="_"/>
<array_format prefix="" postfix="_array"/>
<substitution original="class" substituted="_class"/>
<substitution original="public" substituted="_public"/>
<substitution original="protected" substituted="_protected"/>
<substitution original="private" substituted="_private"/>
<substitution original="union" substituted="_union"/>
<substitution original="enum" substituted="_enum"/>
<substitution original="namespace" substituted="_namespace"/>
<substitution original="using" substituted="_using"/>
<escape to_escape="-" escaped="_"/>
<namespace prefix="wsdl" uri="http://schemas.xmlsoap.org/wsdl/"/>
<nill_type>aka:nill</nill_type>
<cpp_builtins>
<type name="xs:byte">
<cpp>char</cpp>
<array>aka:char_array</array>
</type>
<type name="xs:unsignedByte">
<cpp>unsigned char</cpp>
<array>aka:uchar_array</array>
</type>
<type name="xs:short">
<cpp>short</cpp>
<array>aka:short_array</array>
</type>
<type name="xs:unsignedShort">
<cpp>short</cpp>
<array>aka:short_array</array>
</type>
<type name="xs:int">
<cpp>long</cpp>
<array>aka:long_array</array>
</type>
<type name="xs:unsignedInt">
<cpp>ULONGLONG</cpp>
<array>aka:longlong_array</array>
</type>
<type name="xs:long">
<cpp>LONGLONG</cpp>
<array>aka:longlong_array</array>
</type>
<type name="xs:unsignedLong">
<cpp>ULONGLONG</cpp>
<array>aka:ulonglong_array</array>
</type>
<type name="xs:integer">
<cpp>long</cpp>
<array>aka:long_array</array>
</type>
<type name="xs:boolean">
<cpp>bool</cpp>
<array>aka:bool_array</array>
</type>
<type name="xs:float">
<cpp>float</cpp>
<array>aka:float_array</array>
</type>
<type name="xs:double">
<cpp>double</cpp>
<array>aka:double_array</array>
</type>
<type name="xs:string">
<cpp>std:string</cpp>
<array>aka:string_array</array>
</type>
<type name="xs:anySimpleType">
<cpp>std:string</cpp>
<array>aka:string_array</array>
</type>
<type name="aka:nill">
<cpp>aka:nill</cpp>
<array>aka:nill_array</array>
</type>
</cpp_builtins>
<schema_builtins>
<type name="xs:normalizedString">
<cpp>std:string</cpp>
<array>xs:normalizedString_array</array>
</type>
<type name="xs:token">
<cpp>std:string</cpp>
<array>xs:token_array</array>
</type>
<type name="xs:base64Binary">
<cpp>std:string</cpp>
<array>xs:base64Binary_array</array>
</type>
<type name="xs:hexBinary">
<cpp>std:string</cpp>
<array>xs:hexBinary_array</array>
</type>
<type name="xs:positiveInteger">
<cpp>long</cpp>
<array>xs:positiveInteger_array</array>
</type>
<type name="xs:negativeInteger">
<cpp>long</cpp>
<array>xs:negativeInteger_array</array>
</type>
<type name="xs:nonNegativeInteger">
<cpp>long</cpp>
<array>xs:nonNegativeInteger_array</array>
</type>
<type name="xs:nonPositiveInteger">
<cpp>long</cpp>
<array>xs:nonPositiveInteger_array</array>
</type>
<type name="xs:decimal">
<cpp>long</cpp>
<array>xs:decimal_array</array>
</type>
<type name="xs:time">
<cpp>std:string</cpp>
<array>xs:time_array</array>
</type>
<type name="xs:dateTime">
<cpp>std:string</cpp>
<array>xs:dateTime_array</array>
</type>
<type name="xs:duration">
<cpp>std:string</cpp>
<array>xs:duration_array</array>
</type>
<type name="xs:date">
<cpp>std:string</cpp>
<array>xs:date_array</array>
</type>
<type name="xs:gMonth">
<cpp>std:string</cpp>
<array>xs:gMonth_array</array>
</type>
<type name="xs:gYear">
<cpp>std:string</cpp>
<array>xs:gYear_array</array>
</type>
<type name="xs:gYearMonth">
<cpp>std:string</cpp>
<array>xs:gYearMonth_array</array>
</type>
<type name="xs:gDay">
<cpp>std:string</cpp>
<array>xs:gDay_array</array>
</type>
<type name="xs:gMonthDay">
<cpp>std:string</cpp>
<array>xs:gMonthDay_array</array>
</type>
<type name="xs:Name">
<cpp>std:string</cpp>
<array>xs:Name</array>
</type>
<type name="xs:QName">
<cpp>aka:qname</cpp>
<leaf>xs:QNameLeaf</leaf>
<array>xs:QName_array</array>
</type>
<type name="xs:NCName">
<cpp>std:string</cpp>
<array>xs:NCName_array</array>
</type>
<type name="xs:anyURI">
<cpp>std:string</cpp>
<array>xs:anyURI_array</array>
</type>
<type name="xs:language">
<cpp>std:string</cpp>
<array>xs:language_array</array>
</type>
<type name="xs:ID">
<cpp>std:string</cpp>
<array>xs:ID_array</array>
</type>
<type name="xs:IDREF">
<cpp>std:string</cpp>
<array>xs:IDREF_array</array>
</type>
<type name="xs:IDREFS">
<cpp>std:string</cpp>
<array>xs:IDREFS_array</array>
</type>
<type name="xs:ENTITY">
<cpp>std:string</cpp>
<array>xs:ENTITY_array</array>
</type>
<type name="xs:ENTITIES">
<cpp>std:string</cpp>
<array>xs:ENTITIES_array</array>
</type>
<type name="xs:NOTATION">
<cpp>std:string</cpp>
<array>xs:NOTATION_array</array>
</type>
<type name="xs:NMTOKEN">
<cpp>std:string</cpp>
<array>xs:NMTOKEN_array</array>
</type>
<type name="xs:NMTOKENS">
<cpp>std:string</cpp>
<array>xs:NMTOKENS_array</array>
</type>
</schema_builtins>
</osx:preference>
»ÅÍÍ¡¢À©¸Â¡¢Ì¤¼ÂÁõÉô¤Ê¤É
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
¥Û¡¼¥à¤ËÌá¤ë¡¡ÀÖ»çÁÉ£²¥×¥í¥¸¥§¥¯¥È¥Ú¡¼¥¸¤Ø
