Changeset 1366 for fmts/trunk/p
- Timestamp:
- Feb 22, 2012, 2:44:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fmts/trunk/p/C0XF2N.m
r1365 r1366 41 41 S @ZFARY@("BLKLOAD")=1 ; this file supports block load 42 42 S @ZFARY@("FMTSSTYLE")="F2N" ; fileman style 43 S @ZFARY@("REPLYFMT")=" "43 S @ZFARY@("REPLYFMT")="JSON" 44 44 D USEFARY(ZFARY) 45 45 Q … … 166 166 K ZERR 167 167 D WP^DIE(C0XSFN,ZIEN_",",1,,ZTXT,"ZERR") 168 I $D(ZERR) D ; 169 . ZWR ZERR 168 I $D(ZERR) D Q ; 169 . W !,"ERROR CREATING WORD PROCESSING FIELD" 170 . S C0XERR="ERROR CREATING WORD PROCESSING FIELD" 171 . D ^%ZTER ; error trap 170 172 Q 171 173 ; … … 267 269 . S ZVOC=$P(ZI,"xmlns:",2) 268 270 . I ZVOC'="" S C0XVOC(ZVOC)=$G(@ZDOM@(1,"A",ZI)) 269 W !,"VOCABS:" ZWR C0XVOC 271 W !,"VOCABS:" 272 N ZZ S ZZ="" 273 F S ZZ=$O(C0XVOC(ZZ)) Q:ZZ="" W !,ZZ,":",C0CVOC(ZZ) 270 274 ; 271 275 ; -- look for children called rdf:Description. quit if none. not an rdf file … … 279 283 I '$G(C0XTYPE(@ZDOM@(1,"C",ZI))) D Q ; not an rdf file 280 284 . W !,"Error. Not an RDF file. Cannot process." 281 . ;zwr ^TMP("MXMLDOM",$J,*)285 . D SHOW(1) 282 286 ; 283 287 ; -- now process the rdf description children … … 357 361 SHOW(ZN) ; 358 362 I '$D(C0XJOB) S C0XJOB=$J 359 ZWR ^TMP("MXMLDOM",C0XJOB,1,ZN,*) 360 ;ZWR ^TMP("MXMLDOM",16850,1,ZN,*) 363 N ZD 364 S ZD=$NA(^TMP("MXMLDOM",C0XJOB,1,ZN)) 365 W ZD,"=",@ZD 366 F S ZD=$Q(@ZD) Q:$QS(ZD,4)'=ZN W !,ZD,"=",@ZD 367 ;ZWR ^TMP("MXMLDOM",C0XJOB,1,ZN,*) 361 368 Q 362 369 ; … … 574 581 ; 575 582 BLKERR ; 576 W !,"ERROR IN BULK LOAD",! ZWR ZBFDA(ZI) 583 W !,"ERROR IN BULK LOAD" 584 S C0XERR="ERROR IN BULK LOAD" 585 S C0XLOC=ZBFDA(ZI) 586 D ^%ZTER ; report the error 577 587 B 578 588 Q
Note:
See TracChangeset
for help on using the changeset viewer.