You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Bruce Brown <br...@b2systems.com> on 2000/05/24 20:17:46 UTC

Accessing Content Model in Java version of xerces

I'm using the Java version of xerces. I'd like to be able to feed in an XML
document and then have access to the content model that is created. The
intent is to be able to determine the shape of a document given some example
XML which may not have a DTD. The C++ version of the code allows access to
the content model, but I've been unable to obtain access to it in the java
code. There are a number of private and protect methods that have access to
it.I didn't really want to implement a new validator / parser and all that
that entails.

Has anyone else tried to do this? Or, does anyone have any insights that
might be helpful in solving this problem?

Bruce Brown
B2Systems, Inc.