What is the error in this XML doc.

TAMURA Kent kent at trl.ibm.co.jp
Mon Oct 19 07:36:59 BST 1998

> and when I read the x.xml using readStream(buf) I am getting the following error.
> c:\proj\x.xml: 9, 5: Content mismatch in `<A>'.  Content model is ``(B)*'.

> idea what I am doing wrong and how it should be.  (I am using IBM XML parser.)

Your x.xml with y.xml is valid.
Maybe XML4J has a bug in content model matching ;-(

TAMURA, Kent  @ Tokyo Research Laboratory, IBM Japan

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list