[xsd-users] "Not valid after content"

Boris Kolpackov boris at codesynthesis.com
Tue May 30 14:19:07 EDT 2006


Hi Doug,

Doug Bengtson <Doug.Bengtson at wnco.com> writes:

> I've been trying to get xsd-tree code to work with an input stream and I
> keep getting a "Not valid after content" error thrown as an exception.
>
> I took the library example from /tree and change the driver.cxx file as
> follows:
>
> > //std::auto_ptr<class catalog> l (catalog (argv[1]));
> > std::ifstream fileStream (argv[1]);
> > std::auto_ptr<class catalog> l (catalog(fileStream));
>
> When I run the example it gives me a ":54:7 error: Not valid after
> content" exception description.

Can you provide a sample content (and a schema, if possible) on which
you get this error. Or, at least, what does line 54 look like?


-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20060530/427e4184/attachment.pgp


More information about the xsd-users mailing list