[Mono-docs-list] Re: monodoc.rng

ginga@kit.hi-ho.ne.jp ginga@kit.hi-ho.ne.jp
Wed, 23 Apr 2003 02:34:30 +0900


--------_3EA43707CC83026D8498_MULTIPART_MIXED_
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Hello,

> Could we use your Relax NG reader to validate the documents against
> this?  If so, could you write a little program that does it?  I would
> like to include the tool as part of Monodoc, so people can run this
> tool.

Yes, and yes, with something to do. First fix some current buggy
stuff in System.Xml (I developed it with both MS.NET and Mono,
and there were things to fix). And then, I'll check that library
in, with some supplements.

I attached a sample, simple validator. I think it is simple
pluggable XmlReader and replacable with XmlValidatingReader
(when it is completed).

  Atsushi Eno

--------_3EA43707CC83026D8498_MULTIPART_MIXED_
Content-Type: application/octet-stream; name="simplevalidator.cs"
Content-Disposition: attachment;
 filename="simplevalidator.cs"
Content-Transfer-Encoding: base64

dXNpbmcgU3lzdGVtOw0KdXNpbmcgU3lzdGVtLlhtbDsNCnVzaW5nIENvbW1vbnMuWG1sLlJlbGF4
bmc7DQoNCnB1YmxpYyBjbGFzcyBTaW1wbGVWYWxpZGF0b3INCnsNCglwdWJsaWMgc3RhdGljIHZv
aWQgTWFpbiAoU3RyaW5nIFtdIGFyZ3MpDQoJew0KCQlpZiAoYXJncy5MZW5ndGggPCAyKSB7DQoJ
CQlDb25zb2xlLldyaXRlTGluZSAoInVzYWdlOiBzaW1wbGV2YWxpZGF0b3IgeG1sZmlsZSBybmdm
aWxlIik7DQoJCQlyZXR1cm47DQoJCX0NCgkJDQoJCVJlbGF4bmdWYWxpZGF0aW5nUmVhZGVyIHJ2
ciA9IG5ldyBSZWxheG5nVmFsaWRhdGluZ1JlYWRlciAoDQoJCQluZXcgWG1sVGV4dFJlYWRlciAo
YXJncyBbMF0pLA0KCQkJbmV3IFhtbFRleHRSZWFkZXIgKGFyZ3MgWzFdKSk7DQoJCXdoaWxlICgh
cnZyLkVPRikNCgkJCXJ2ci5SZWFkICgpOw0KCQlDb25zb2xlLldyaXRlTGluZSAoIlZhbGlkYXRl
ZC4iKTsNCgl9DQp9DQo=



--------_3EA43707CC83026D8498_MULTIPART_MIXED_--