Jacob.
The MetadataDocument is not valid.  What does this mean?

-=beeky

Jacob Danner wrote:
Did you try validating it?

Here is what I was referring to:
MetadataDocument mDoc =MetaDataDocument.Factory.parse(new URL(server_url));
MetadataResultType doc = mDoc.getMetadataResultType();
System.out.println("title=" + doc.getTitle() );
System.out.println("doc=" + doc.toString()) ;

On Fri, Jan 9, 2009 at 9:16 AM, Wm.A.Stafford
<[email protected]> wrote:
Jacob,
Thanks for the quick reply.  Unfortunately, I still don't see the solution.
I think you are saying that the MetadataResultType.getTitle() function I
mentioned is associated with type information not the actual value of the
Title element.
By this do you mean that there will not be a getTitle() function that
returns the value of the Title element?

I suppose I'm approaching this in a backward fashion.  I used XmlBeans to
generate classes and javadoc and then searched the javadoc for a getTitle()
function.
How is this usually done, i.e. how do you go from schema element to java
class to method that gets the element value?

Thanks,
-=beeky


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to