[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Commented: (XMLBEANS-143) package name of generated code
From:       "Radu Preotiuc-Pietro (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2006-10-19 21:12:36
Message-ID: 24926034.1161292356697.JavaMail.jira () brutus
[Download RAW message or body]

    [ http://issues.apache.org/jira/browse/XMLBEANS-143?page=comments#action_12443648 \
]   
Radu Preotiuc-Pietro commented on XMLBEANS-143:
-----------------------------------------------

How did they "fail"? As far as I know, the package name is still valid Java so it \
should not fail. Changing the generated package names is covered in the XMLBeans FAQ \
under "General Questions -> Can I change the default package names for the java \
classes generated from my schema?"

Where would you rather see it documented?


> package name of generated code doesn't match targetNamespace
> ------------------------------------------------------------
> 
> Key: XMLBEANS-143
> URL: http://issues.apache.org/jira/browse/XMLBEANS-143
> Project: XMLBeans
> Issue Type: Bug
> Components: Compiler
> Affects Versions: Version 2 Beta 1
> Environment: Win XP, jdk1.4_2_03
> Reporter: Randy Thornton
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema targetNamespace="http://www.perfretail.com/k2v1/report/schemas" 
> 	xmlns:rs="http://www.perfretail.com/k2v1/report/schemas" 
> 	xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
> </xs:schema>
> Note the package name contails k2v1 with a lowercase v.  The generated classes \
> contain an uppercase V and the directory structure created contains uppercase V \
> also. package com.perfretail.k2V1.report.schemas;

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: \
                http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic