>Is it legal for a comment node to be created or modified to contain the >string '-->' in it? As far as the DOM is concerned, yes. It's the serializer's responsibility to do something appropriate with it -- complain, or change the > into >, or whatever seems reasonable -- and/or your application's responsibility not to create this situation in the first place. We expect DOM Level 3 will add the ability to request a well-formedness check, which will report this sort of thing. ______________________________________ Joe Kesselman / IBM ResearchReceived on Friday, 22 September 2000 10:34:12 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:52 GMT