DTD2RELAX

$Id: DTD2RELAX-j.html,v 1.9 2000/09/24 05:43:14 nanba Exp $

[English]/[Japanese]

¹¹¿·¾ðÊó

¤¢¤é¤Þ¤·

GUI version of converter

DTD2RELAX ¤Ï DTD ¥¹¥­¡¼¥Þ¤ò RELAX ¥â¥¸¥å¡¼¥ë¤ËÊÑ´¹¤·¤Þ¤¹¡£

ÊÑ´¹Îã:

¥³¥Þ¥ó¥É¥é¥¤¥óÈÇ¤È GUI ÈǤ¬¤¢¤ê¤Þ¤¹¡£

¥À¥¦¥ó¥í¡¼¥É

DTD2RELAX_*-bin.jar ¤¬¼Â¹Ô²Äǽ JAR ¥Õ¥¡¥¤¥ë¤Ç¤¹¡£XML4J 1.1.16 ¤ò¤ª»ý¤Á¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢DTD2RELAX_*-bin-XML4J.jar ¤ò¤É¤¦¤¾¡£

DTD2RELAX_*-src.zip ¤¬¥½¡¼¥¹¥Ñ¥Ã¥±¡¼¥¸¤Ç¤¹¡£¥½¡¼¥¹¥³¡¼¥É¤È¤³¤Îʸ½ñ¤¬´Þ¤Þ¤ì¤Þ¤¹¡£

(¥Ð¡¼¥¸¥ç¥ó 1.1.0 °ÊÁ°¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ë¤Ï DTD2RELAX_*.jar ¤Ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤â´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£)


¥Ð¡¼¥¸¥ç¥ó¥Õ¥¡¥¤¥ëÊѹ¹ÅÀ
1.1.1 DTD2RELAX_1_1_1-src.zip [50KB]
DTD2RELAX_1_1_1-bin.jar [25KB]
DTD2RELAX_1_1_1-bin-XML4J.jar [250KB]
¥Ç¥Õ¥©¥ë¥È½ÐÎϽñ¼°¤òÊѹ¹. ½ÐÎϽñ¼°»ØÄê¤ò²Äǽ¤Ë.
1.1.0 DTD2RELAX_1_1_0.jar [28KB]
DTD2RELAX_1_1_0-with-XML4J_1_1_16.jar [250KB]
SAX API ¤Ç¤Î½ÐÎϤò¥µ¥Ý¡¼¥È.
1.0.2 DTD2RELAX_1_0_2.jar [24KB]
DTD2RELAX_1_0_2-with-XML4J_1_1_16.jar [250KB]
̤¥µ¥Ý¡¼¥È¤Î½ÐÎÏ encoding »ØÄê¤ËÂФ·¤Æ¥¨¥é¡¼¤ò½Ð¤¹¤è¤¦¤Ë. UTF-16BE,LE ½ÐÎϤò¥µ¥Ý¡¼¥È³°¤Ë.
1.0.1 DTD2RELAX_1_0_1.jar [24KB]
DTD2RELAX_1_0_1-with-XML4J_1_1_16.jar [250KB]
¿·¥­¡¼¥ï¡¼¥É¤ËÂбþ. ɸ½à½ÐÎÏÂбþ. any ÆâÍÆ¥â¥Ç¥ë¤Î¥Ð¥°½¤Àµ.
1.0.0 DTD2RELAX_1_0_0.jar [24KB]
DTD2RELAX_1_0_0-with-XML4J_1_1_16.jar [250KB]

»È¤¤Êý

¥³¥Þ¥ó¥É¥é¥¤¥óÈÇ:

java com.horobi.relax.DTD2RELAX [-e encoding] dtd [relax] topLevelElement

½ÐÎÏ¥Õ¥¡¥¤¥ë̾ relax ¤ò¾Êά¤¹¤ë¤Èɸ½à½ÐÎϤ˽ÐÎϤ·¤Þ¤¹¡£

GUI ÈÇ:

java com.horobi.relax.DTDtoRELAXConverterGUI

Java2 ¤Î¾ì¹ç¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤â¤Ç¤­¤Þ¤¹¡£

java -jar DTD2RELAX_1_1_1-bin.jar

SAX ½ÐÎÏ:

¥Ð¡¼¥¸¥ç¥ó 1.1.0 °Ê¹ß¤Î DTD2RELAX ¤Ç¤Ï DTD ¤«¤éÊÑ´¹¤·¤¿ RELAX ¥â¥¸¥å¡¼¥ë¤Î¥Ä¥ê¡¼¹½Â¤¤ò SAX ¥¤¥Ù¥ó¥È¤Ç½ÐÎϤǤ­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

SAX ½ÐÎϤò DocumehtHandler ¤Ç¼õ¿®¤¹¤ë¤Ë¤Ï¡¢ com.horobi.relax.DTD2RELAXParser ¤ò»È¤Ã¤Æ °Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£

  DTD2RELAXParser dtd2relax = new DTD2RELAXParser();
  dtd2relax.setFinalElementType("spec");
  dtd2relax.setDocumentHandler(yourDocumentHandler);
  dtd2relax.parse("xmlspec.dtd");
	

½ÐÎϽñ¼°:

¥Ð¡¼¥¸¥ç¥ó 1.1.1 °Ê¹ß¤Î DTD2RELAX ¤Ç¤Ï½ÐÎϤµ¤ì¤ë RELAX ¥â¥¸¥å¡¼¥ë ¥½¡¼¥¹¥³¡¼¥É¤Î½ñ¼°¤¬¤è¤êÆɤߤ䤹¤¤·Á¤ËÀ°·Á¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

°ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤ÈƱ¤¸½ñ¼°¤¬Îɤ¤¾ì¹ç¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤·¤Þ¤¹(GUI ÈǤǤâƱÍͤǤ¹¡£)

java -Dcom.horobi.relax.printer=com.horobi.relax.RELAXPrinter com.horobi.relax.DTD2RELAX ...

¥·¥¹¥Æ¥à¥×¥í¥Ñ¥Æ¥£ com.horobi.relax.printer ¤Ç»ØÄꤵ¤ì¤¿¥¯ ¥é¥¹¤Ç½ÐÎϤ¬À°·Á¤µ¤ì¤Þ¤¹(¤³¤³¤Ë¤Ï com.horobi.relax.SAXPrinter ¤ò¼ÂÁõ¤·¤¿Ç¤°Õ¤Î¥¯¥é¥¹¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£)

ɬÍפʤâ¤Î

¶¦ÄÌ:

XML4J 1.1.16 ¤¬É¬ÍפǤ¹¡£

DTD2RELAX ¤Ï XML4J 2.0.x ¤ä Xerces-J ¤Ç¤ÏÆ°¤­¤Þ¤»¤ó¡£

¥³¥Þ¥ó¥É¥é¥¤¥óÈÇ:

JDK 1.1.x °Ê¾å¡£

GUI ÈÇ:

JDK 1.1.x + Swing 1.1 ¤Þ¤¿¤Ï Java2.

¥Ð¥°¤Ê¤É

  • [¶¦ÄÌ] ¥Ð¡¼¥¸¥ç¥ó 1.0.0, 1.0.1 ¤Ç¤Ï UTF-16BE,LE ¤Î½ÐÎϤ¬ÉÔÀµ¤Ç¤¹¡£ (UTF-16BE,LE ¤Ï1.0.2 ¤Ç¤ÏÈóÂбþ¤È¤·¤Þ¤·¤¿).
  • [GUI] ½ÐÎÏ¥Õ¥¡¥¤¥ë̾¤ò»ØÄê¤Ç¤­¤Þ¤»¤ó¡£
  • [GUI] JDK 1.1.x + Swing 1.1 ´Ä¶­¤Ç¥¤¥ó¥¸¥±¡¼¥¿¤¬²óž¤·¤Þ¤»¤ó¡£

º£¸å¤Î²ÝÂê

  • [¶¦ÄÌ] Xerces-J ¤ò»È¤¦¡£

COPYRIGHT

copyright (c) 2000 by MURATA Makoto & NANBA Ryosuke. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.