Re: Namespace problem reading xml

JavierL <[email protected]>
Newsgroups gmane.text.xml.xmlbeans.user
Message-ID <[email protected]>
Hi

Thanks for your reply.

It was not easy to find but I found it here:

http://wiki.apache.org/xmlbeans/XmlBeansFaq#configPackageName

and it worked fine.

Thanks & Regards
J




Jacob Danner-2 wrote:
> 
> Have you looked into using an xmlconfig file to generate the classes into
> the packages you want. Take a peek on the xmlbeans wiki for more
> information
> on what to do.
> HTH,
> -jacobd
> 
> On Fri, Sep 18, 2009 at 5:07 AM, JavierL <[email protected]> wrote:
> 
>>
>> Hi
>>
>> I need to read an xml file. The namespace on the schema is noNamespace,
>> and
>> generated classes are on package noNamespace.
>>
>> But my project environment is a "little bit special" because I could not
>> use
>> my generated jar and I need to upload generated source code to a package
>> name that will be something like xxx.zzzz.noNamespace.
>>
>> I can refactor generated code, but I got errors when tried to read the
>> xml
>> because its namespace is still noNamespace.
>>
>> How could I allow my program to read the xml file succesfully on this
>> environment ?
>>
>> Thanks in advance
>>
>> J
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Namespace-problem-reading-xml-tp25507615p25507615.html
>> Sent from the Xml Beans - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Namespace-problem-reading-xml-tp25507615p25530231.html
Sent from the Xml Beans - User mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.