Denis,
SchemaType.getSourceName() returns a name of a resource that represents
the original xsd file from which the type came from.
You can get to the resource by using a SchemaTypeLoader that has access
to it. See the following example on how to use it:
static void testXbGetSourceName
"_3A", ":");
> path = path.replaceAll("_5F", "_");
> path = path.replaceAll("file:/", "");
>
> But I'm not sure that this is correct.
>
> Regards,
> Denis.
>
>
>
> -Original Message---
eAll("_5F", "_");
> path = path.replaceAll("file:/", "");
>
> But I'm not sure that this is correct.
>
> Regards,
> Denis.
>
>
>
> -Original Message-
> From: Jacob Danner [mailto:[EMAIL PROTECTED]
>
--Original Message-
From: Jacob Danner [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 14, 2008 8:32 PM
To: user@xmlbeans.apache.org
Subject: Re: SchemaType.getSourceName()
Hi Denis,
>From what I remember, SchemaComponent.getSourceName() will return the
path/location of the
Hi Denis,
>From what I remember, SchemaComponent.getSourceName() will return the
path/location of the xsd used to create the type system.
http://xmlbeans.apache.org/docs/2.2.0/reference/org/apache/xmlbeans/SchemaComponent.html#getSourceName()
If the schema was built from a string, this method retu
5 matches
Mail list logo