Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/make/src/classes/build/tools/dtdbuilder/README.txt
32287 views
README:12This directory contains a program to read a DTD, and produce a compressed3representation of it. It's intended that this program be run at build4time, and the resultant .bdtd binary DTD file be read at program startup.567.dtdb FILE FORMAT89file ::= version_no:int num_names:short name[]:string num_entities entity[]10num_elements element[]1112entity ::= name_id:short type:byte data:string1314element ::= name_id:short type:byte15flags:byte (&0x01 = omit start, &0x02 = omit end)16content_model17num_exclusions:byte name_id[]18num_inclusions:byte name_id[]19num_attributes:byte attribute[]2021attribute ::= name_id:short type:byte modifier:byte22value:name_id (or -1 for null)23num_values:short name_id[]2425content_model ::= content_c | content_e | content_null2627content_null ::= flag:byte=02829content_c ::= flag:byte=1 type:int content:content_model next:content_model3031content_e ::= flag:byte=2 type:int element_name_id next:content_model3233string ::= modified UTF-8 encoding of a string3435See the java.io.InputStream class description for the specification of modified36UTF-8.373839