OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: XML validation

[ Lists Home | Date Index | Thread Index ]
  • From: Michael Rys <mrys@microsoft.com>
  • To: yimin zhu <yiminz@timberline.com>,"'xml-dev@lists.xml.org'" <xml-dev@lists.xml.org>
  • Date: Fri, 22 Sep 2000 12:30:12 -0700

As Arnold already mentioned, this is an XML Data Reduced schema. If you use
a newer version of MSXML, you can programmatically associate documents with
other schemata using schema caches. This allows you to
 
1. Cache a schema for validating against several documents without reparsing
the schema.
2. Use different schemata for validating a document
 
Best regards
Michael

-----Original Message----- 
From: yimin zhu 
Sent: Fri 9/22/2000 11:28 AM 
To: 'xml-dev@lists.xml.org' 
Cc: 
Subject: XML validation



It seems that in order to validate an XML file against a schema the location

of a schema file has to be included in the XML file, i.e. <book 
xmlns="x-schema:bookschema.xml">...</book>. Are there any other ways to do 
XML validation at runtime? 

Yimin Zhu 
Timberline Software Corp. 




begin 600 winmail.dat
M>)\^(A83`0:0"``$```````!``$``0>0!@`(````Y`0```````#H``$%@`,`
M#@```-`'"0`6``P`'@`,``4`,0$!"8`!`"$````P,S1#0C8U0C!#-S8W1C0W
M030Y-49"-4$R,S`Y0S!"00`V!P$@@`,`#@```-`'"0`6``P`'@`2``4`-P$!
M#8`$``(````"``(``0.0!@#D#@``.@```$``.0#X_`R'RR3``1\`,4`!````
M#@```#0`-``R`#``.``T```````#`!I``````!\`,$`!````#@```#0`-``R
M`#``.``T```````#`!E``````!\`20`!````'@```%@`30!,`"``=@!A`&P`
M:0!D`&$`=`!I`&\`;@``````0`!.``!=W?/"),`!`@%;``$````]````````
M`($K'Z2^HQ`9G6X`W0$/5`(`````>6EM:6X@>FAU`%--5%``>6EM:6YZ0'1I
M;6)E<FQI;F4N8V]M`````!\`9@`!````"@```%,`30!4`%```````!\`9P`!
M````+````'D`:0!M`&D`;@!Z`$``=`!I`&T`8@!E`'(`;`!I`&X`90`N`&,`
M;P!M````'P!:``$````4````>0!I`&T`:0!N`"``>@!H`'4````?`#)``0``
M`"P```!Y`&D`;0!I`&X`>@!``'0`:0!M`&(`90!R`&P`:0!N`&4`+@!C`&\`
M;0````(!7``!````&P```%--5%`Z64E-24Y:0%1)34)%4DQ)3D4N0T]-```#
M`!U```````(!7@`!````/0````````"!*Q^DOJ,0&9UN`-T!#U0"`````'EI
M;6EN('IH=0!33510`'EI;6EN>D!T:6UB97)L:6YE+F-O;0`````?`&@``0``
M``H```!3`$T`5`!0```````?`&D``0```"P```!Y`&D`;0!I`&X`>@!``'0`
M:0!M`&(`90!R`&P`:0!N`&4`+@!C`&\`;0```!\`70`!````%````'D`:0!M
M`&D`;@`@`'H`:`!U````'P`S0`$````L````>0!I`&T`:0!N`'H`0`!T`&D`
M;0!B`&4`<@!L`&D`;@!E`"X`8P!O`&T````"`5\``0```!L```!33510.EE)
M34E.6D!424U"15),24Y%+D-/30```P`>0``````"`7$``0```!L````!P"3%
MHNNGGL)D9[I*`Z<'>GIU96_7``%@HI<`'P!T``$````P````)P!X`&T`;``M
M`&0`90!V`$``;`!I`',`=`!S`"X`>`!M`&P`+@!O`'(`9P`G`````@$)$`$`
M``#@!@``W`8``($7``!,6D9UC=#Q_0,`"@!R8W!G,3(U@C(#0VAT;6PQ`S`_
M`0,!]PJ``J0#XP(`8VC!"L!S970P(`<3`H#_$`,`4`16"%4'LA'5#E$#`=T0
MUS(&``;#$=4S!$80V6\2ZQ'C".\)]SL8SPXP-3L1T@Q@8P!0"PD!9#,VDQ%@
M"Z4T(!`"*EP.LKT!D&<4\`JC$>,=Z#04\``\(41/0U194`!%($A434P@4`!5
M0DQ)0R`B+2`O+U<S0R&`1%0B1""4,RXR(8!%3IPB/A[M'H\CP3$X'_!O(*(C
M#R0?)I`S'8`E<$5\040ES0[Q)N\I;R3T-D$.\#Q-151!![!!,2Q@/2)'"?`$
MD&%T106P(A+03TY4(M!4$RSP!>%%>!#Q;F=E/092=A,Q+T$`D`(@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!````P#]
M/^0$```?`'```0```!X```!8`$T`3``@`'8`80!L`&D`9`!A`'0`:0!O`&X`
M``````L`\A`!````"P#T$``````+`/40``````L`]A``````'P#S$`$````R
M````4@!%`"4`,P!!`"``6`!-`$P`(`!V`&$`;`!I`&0`80!T`&D`;P!N`"X`
M10!-`$P```````(!1P`!````,@```&,]55,[83U-0TD[<#UM<V9T.VP]4D5$
M+4U31RTR.2TP,#`Y,C(Q.3,P,3):+3$Y-S(````"`?D_`0```%$`````````
MW*=`R,!"$!JTN0@`*R_A@@$`````````+T\]34E#4D]33T94+T]5/4Y/4E1(
M04U%4DE#02]#3CU214-)4$E%3E13+T-./30T,C`X-``````?`/@_`0```!@`
M``!-`&D`8P!H`&$`90!L`"``4@!Y`',````?`#A``0````X````T`#0`,@`P
M`#@`-````````@'[/P$```!1`````````-RG0,C`0A`:M+D(`"LOX8(!````
M`````"]//4U)0U)/4T]&5"]/53U.3U)42$%-15))0T$O0TX]4D5#25!)14Y4
M4R]#3CTT-#(P.#0`````'P#Z/P$````8````30!I`&,`:`!A`&4`;``@`%(`
M>0!S````'P`Y0`$````.````-``T`#(`,``X`#0``````$``!S"8N'(ERR3`
M`4``"#`4T9**RR3``1\`&@`!````$@```$D`4`!-`"X`3@!/`%0`10``````
M'P`W``$````F````4@!%`#H`(`!8`$T`3``@`'8`80!L`&D`9`!A`'0`:0!O
M`&X``````!\`/0`!````"@```%(`10`Z`"```````!\`'0X!````'@```%@`
M30!,`"``=@!A`&P`:0!D`&$`=`!I`&\`;@``````'P`U$`$```">````/`!%
M`$,`-@`W`$(`,``T`#(`,P`W`#(`0P`R`#<`-``R`#D`,``Q`#0`1``T`$8`
M0@`P`#8`00!#`#D`1@!!`$8`,0`P`#8`-P`U`#$`0`!R`&4`9``M`&T`<P!G
M`"T`,@`Y`"X`<@!E`&0`;0!O`&X`9``N`&,`;P!R`'``+@!M`&D`8P!R`&\`
M<P!O`&8`=``N`&,`;P!M`#X```````L`*0``````"P`C```````#``80?:03
M?P,`!Q!]`@```P`0$``````#`!$0`0```!X`"!`!````90```$%305).3TQ$
M04Q214%$64U%3E1)3TY%1"Q42$E325-!3EA-3$1!5$%214150T5$4T-(14U!
M24993U554T5!3D5715)615)324].3T9-4UA-3"Q93U5#04Y04D]'4D%-34%4
M24,``````@%_``$```!/````/$5#-C=",#0R,S<R0S(W-#(Y,#$T1#1&0C`V
M04,Y1D%&,3`V-S4Q0')E9"UM<V<M,CDN<F5D;6]N9"YC;W)P+FUI8W)O<V]F
*="YC;VT^``#I'P==
`
end




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS