Changeset 3293
- Timestamp:
- Jun 10, 2013, 2:57:35 PM (6 years ago)
- Location:
- proto/xmlschema/test
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
proto/xmlschema/test/Makefile
r3290 r3293 3 3 CC_Output=ccoutput 4 4 CC_Output_Lex = lex 5 6 Gid_Ge = gid_ge.py 5 7 6 8 PABLO_SRC_CC=../parabix2_validation_cc.py … … 11 13 12 14 cc: 15 python $(Gid_Ge) 13 16 python $(CC_Compiler) $(CC_Input) > $(CC_Output) 14 17 sed -e '/@cc_code/{r $(CC_Output)' -e 'd}' $(PABLO_SRC_CC) > $(PABLO_SRC_LEX) -
proto/xmlschema/test/element_ID
r3290 r3293 1 xforms: xform12 xforms: model23 xforms: instance34 xforms: privacy45 xforms: bindings56 xforms: submitInfo67 xforms: bind78 xforms: caption89 xforms: hint910 xforms: help1011 xforms: alert1112 xforms: action1213 xforms: extension1314 xforms:c hoices1415 xforms: item1516 xforms: itemref161 xforms:model 1 2 xforms:instance 2 3 xforms:submission 3 4 xforms:bind 4 5 xforms:label 5 6 xforms:hint 6 7 xforms:help 7 8 xforms:alert 8 9 xforms:extension 9 10 xforms:choices 10 11 xforms:value 11 12 xforms:item 12 13 xforms:itemset 13 14 xforms:copy 14 15 xforms:filename 15 16 xforms:mediatype 16 17 17 xforms:input 17 18 18 xforms:textarea 18 19 19 xforms:secret 19 20 20 xforms:upload 20 21 xforms:select One2122 xforms:select Many2223 xforms: selectBoolean2324 xforms: range2425 xforms: button2526 xforms: output 2627 xforms: submit2721 xforms:select1 21 22 xforms:select 22 23 xforms:range 23 24 xforms:trigger 24 25 xforms:output 25 26 xforms:submit 26 27 xforms:action 27 28 28 xforms:dispatch 28 29 xforms:refresh 29 30 xforms:recalculate 30 31 xforms:revalidate 31 32 xforms:setFocus 32 33 xforms:setValue 33 34 xforms:submitInstance 34 35 xforms:resetInstance 35 36 xforms:insert 36 37 xforms:delete 37 38 xforms:scroll 38 39 xforms:setRepeatCursor 39 40 xforms:toggle 40 41 xforms:script 41 42 xforms:group 42 43 xforms:switch 43 44 xforms:case 44 45 xforms:repeat 45 46 xforms:defComponent 46 47 xforms:param 47 48 xforms:valueOf 48 49 xforms:component 49 29 xforms:rebuild 29 30 xforms:revalidate 30 31 xforms:recalculate 31 32 xforms:refresh 32 33 xforms:setfocus 33 34 xforms:load 34 35 xforms:setvalue 35 36 xforms:send 36 37 xforms:reset 37 38 xforms:insert 38 39 xforms:delete 39 40 xforms:setindex 40 41 xforms:toggle 41 42 xforms:message 42 43 xforms:repeat 43 44 xforms:group 44 45 xforms:switch 45 46 xforms:case 46 -
proto/xmlschema/test/gid_ge.py
r3290 r3293 3 3 for i in string.letters: 4 4 map_lst.append(i) 5 map_lst = map_lst + range(0,9)5 map_lst = range(0,9) + map_lst 6 6 7 7 def gid_ge(fname,xforms): … … 27 27 ls.append(s) 28 28 fout.write(namespace+s+' '+str(n)+'\n') 29 fout_1.write(s+' '+str(n)+' '+ map_lst[n-1]+'\n')29 fout_1.write(s+' '+str(n)+' '+str(map_lst[n])+'\n') 30 30 if n<10: 31 fout_cc.write('lex.cc'+str(n -1)+' = '+'[\\x0'+str(n)+']'+'\n')31 fout_cc.write('lex.cc'+str(n)+' = '+'[\\x0'+str(n)+']'+'\n') 32 32 else: 33 fout_cc.write('lex.cc'+str(n -1)+' = '+'[\\x'+str(n)+']'+'\n')34 fout_2.write('\tcc'+str(n -1)+' = 0'+'\n')33 fout_cc.write('lex.cc'+str(n)+' = '+'[\\x'+str(n)+']'+'\n') 34 fout_2.write('\tcc'+str(n)+' = 0'+'\n') 35 35 n = n + 1 36 fout_cc.write('lex.LF = [\\x0A]') 36 fout_cc.write('lex.tag_closing = [\\x00]') 37 # fout_cc.write('lex.LF = [\\x0A]') 37 38 f.close() 38 39 fout.close() … … 40 41 fout_cc.close() 41 42 42 fname = ' xForm.xsd'43 fname = 'XForms-Schema.xsd' 43 44 namespace = 'xforms:' 44 45 fout_name = 'element_ID'
Note: See TracChangeset
for help on using the changeset viewer.