You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org> on 2006/10/19 23:12:36 UTC
[jira] Commented: (XMLBEANS-143) package name of generated code
doesn't match targetNamespace
[ 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