Ant autotype does not seem to recognize xsd:include
Hi
I am currently using WebLogic 7.0. I was trying to use ant autotype to generate
java classes based on a schema. I ran into a problem that the autotype does not
seem to include the other schema files listed with xsd:include. I could only get
around the problem by literally copy and paste the complex types definition into
the calling schema file. Below are the two schemas that illustrate the problem.
x.xsd includes y.xsd but however the EmployeeBean listed in y.xsd results in a
unresolve type with autotype. Problem only goes away if EmployeeBean definition
is listed in x.xsd.
Any help is much appreciated.
==========================================================
x.xsd
==========================================================
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<xsd:schema xmlns:ofx="http://ofx.net/v3.0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://ofx.net/v3.0">
<xsd:include schemaLocation="y.xsd" />
<xsd:complexType name="Company">
<xsd:sequence>
<xsd:element name="XYZ" type="ofx:EmployeeBean" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
==========================================================
y.xsd
==========================================================
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<xsd:schema targetNamespace="http://ofx.net/v3.0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ofx="http://ofx.net/v3.0">
<xsd:complexType name="EmployeeBean">
<xsd:sequence>
<xsd:element name="name"
type="xsd:string"
nillable="true"
minOccurs="1"
maxOccurs="1">
</xsd:element>
<xsd:element name="id"
type="xsd:int"
minOccurs="1"
maxOccurs="1">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
=============================================================
Actually imports will work in most cases, though some bug fixes have
been made since and will show up in future releases.
--Scott
In article <[email protected]>,
Bruce Stephens <[email protected]> wrote:
Hello,
At the moment, we handle wsdl imports as done by SOAPBuilders Round
3, but not schema imports. Look for this in the upcoming release;
Contact Michael Bamford ([email protected]) if you would like
to be on the Beta.
Thanks,
Bruce
Sooleng Lau wrote:
Thank you for the response and info. What about schema import, is
it handled by weblogic 7.0 at the moment ? What is the upcoming
release, is it WebLogic 7.1 ?
Thank you.
Soo Leng
Bruce Stephens <[email protected]> wrote:
Hello,
Schema include is a known problem that will be corrected in the upcoming
release.
The workaround at this point is the cut and paste :-( you described.
Bruce
Sooleng Lau wrote:
Hi
I am currently using WebLogic 7.0. I was trying to use ant autotypeto generate
java classes based on a schema. I ran into a problem that the autotypedoes not
seem to include the other schema files listed with xsd:include. I couldonly get
around the problem by literally copy and paste the complex types definitioninto
the calling schema file. Below are the two schemas that illustratethe problem.
x.xsd includes y.xsd but however the EmployeeBean listed in y.xsd resultsin a
unresolve type with autotype. Problem only goes away if EmployeeBeandefinition
is listed in x.xsd.
Any help is much appreciated.
==========================================================
x.xsd
==========================================================
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<xsd:schema xmlns:ofx="http://ofx.net/v3.0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://ofx.net/v3.0">
<xsd:include schemaLocation="y.xsd" />
<xsd:complexType name="Company">
<xsd:sequence>
<xsd:element name="XYZ" type="ofx:EmployeeBean" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
==========================================================
y.xsd
==========================================================
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<xsd:schema targetNamespace="http://ofx.net/v3.0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ofx="http://ofx.net/v3.0">
<xsd:complexType name="EmployeeBean">
<xsd:sequence>
<xsd:element name="name"
type="xsd:string"
nillable="true"
minOccurs="1"
maxOccurs="1">
</xsd:element>
<xsd:element name="id"
type="xsd:int"
minOccurs="1"
maxOccurs="1">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
=============================================================
Similar Messages
-
Problem tranferring old iPhone 3GS (ios 6.1.6) to new iPhone 5S (ios 8.1.2) through iTunes on my iMac computer (OSX 10.5.8) . I have backed up the 3GS this way since purchase of 3GS. The computer does not seem to recognize the 5S is there -- no setup assist is appearing on screen. Any ideas welcome.
this may not be your problem my according to the tech specs on apple.com the 5s requires:
Syncing with iTunes on a Mac or PC requires:
Mac: OS X v10.6.8 or later
PC: Windows 8; Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 3 or later
iTunes 11.1 or later (free download -
When I try to upgrade my iPad 2 to ios5 via computer the computer does not Seem to recognize my device
http://support.apple.com/kb/TS1538
-
I am trying to get the music content in iTunes on my Mac onto my iPhone. When I connect the devices, the computer does not seen to recognize the iPhone. i.e., on the open iTunes window, the iPhone is not seen as a connected "device".
Hi,
See Here
iPhone, iPad, or iPod touch not appearing in iTunes
From Here
http://www.apple.com/support/itunes/devices/
Also...
Device Not Recognised
For PC
http://support.apple.com/kb/TS1538 -
i download adobe flash player as prompted and it does not seem to be recognized.
Go to Apple > System Preferences > Flash Player
and check to see if your Flash Player is up to date.
11.9.900.170 is the latest version. -
The Pandora APP is installed on my iPhone5 & works fine except when I am in my new car that also has a Pandora APP. The car doesn't seem to recognize the phone so doesn't connect. My iPhone will act like it is playing Pandora as usual but there is no sound at all when I am in the car. What do I need to do?
Hello Mogulman46,
So what that means is when you have Do Not Disturb turned on, you may have an alert depending on the setting and how you are using your iPhone. So if it is set to Always, then that means that no matter what, your iPhone will not be notified. If it set to Only while the iPhone is locked, then that means that you will not get notification when your iPhone is locked but you will get notifications if your iPhone is being used. Also keep in mind the settings All Calls From can be set to certain contacts like Favorites, Everyone or no one. If you are using Do Not Disturb and you do not need it, then turn it off.
Use Do Not Disturb on your iPhone, iPad, or iPod touch
http://support.apple.com/kb/ht5463
Regards,
-Norm G. -
Arch Linux does not seem to recognize all memory
Arch newbie here:
I know I've got 4GB DDR3 on this machine, but everywhere apart from lshw seem to just show up as 1,43GB?
I'm running the x86_64 version, so I know it is 64-bit, so there should be no problem there.
From lshw :
*-memory
description: System Memory
physical id: 22
slot: System board or motherboard
size: 4GiB
*-bank:0
description: DIMM DDR3 Synchronous 800 MHz (1.2 ns)
product: M471B5773EB0-CK0
vendor: Samsung
physical id: 0
serial: 96B50F7D
slot: A1_DIMM0
size: 2GiB
width: 64 bits
clock: 800MHz (1.2ns)
*-bank:1
description: DIMM DDR3 Synchronous 800 MHz (1.2 ns)
product: M471B5773EB0-CK0
vendor: Samsung
physical id: 1
serial: 96B50F40
slot: A1_DIMM1
size: 2GiB
width: 64 bits
clock: 800MHz (1.2ns)
cat /proc/meminfo | grep MemTotal :
MemTotal: 1499384 kB
$ free -m
total used free shared buffers cached
Mem: 1464 1364 99 0 21 314
-/+ buffers/cache: 1028 436
Swap: 972 10 962
$ uname -a
Linux arch 3.9.7-1-ARCH #1 SMP PREEMPT Thu Jun 20 22:45:32 CEST 2013 x86_64 GNU/Linux
Arch newbie here. I know I've got 4GB DDR3 on this machine, but everywhere apart from lshw seem to just show up as 1.43GB?
I'm running the x86_64 version, so I know it is 64-bit, so there should be no problem there. What am I missing?
From lshw :
*-memory
description: System Memory
physical id: 22
slot: System board or motherboard
size: 4GiB
*-bank:0
description: DIMM DDR3 Synchronous 800 MHz (1.2 ns)
product: M471B5773EB0-CK0
vendor: Samsung
physical id: 0
serial: 96B50F7D
slot: A1_DIMM0
size: 2GiB
width: 64 bits
clock: 800MHz (1.2ns)
*-bank:1
description: DIMM DDR3 Synchronous 800 MHz (1.2 ns)
product: M471B5773EB0-CK0
vendor: Samsung
physical id: 1
serial: 96B50F40
slot: A1_DIMM1
size: 2GiB
width: 64 bits
clock: 800MHz (1.2ns)
cat /proc/meminfo | grep MemTotal :
MemTotal: 1499384 kB
$ free -m
total used free shared buffers cached
Mem: 1464 1364 99 0 21 314
-/+ buffers/cache: 1028 436
Swap: 972 10 962
$ uname -a
Linux arch 3.9.7-1-ARCH #1 SMP PREEMPT Thu Jun 20 22:45:32 CEST 2013 x86_64 GNU/Linuxgraysky wrote:
theOptimizedCoder wrote:Unfortunately, removing the memory sticks, blowing on them and re-inserting them didn't solve the issue. I'm assuming this is something to do with the BIOS as well.
What does the BIOS show as physical memory?
theOptimizedCoder wrote:This is on a Samsung NP365E5C-S05US and by default the BIOS option was set to only UEFI boot. I had to change it to boot 'UEFI as well as CSM/Legacy' - to make it boot Linux, so I'm guessing there's something else I'm overlooking.
That is likely unrelated. If probably just have a bootloader using BIOS mode.
It does show up as 4GB (2 * 2GB) in the BIOS!
However, there were these two other options set :
NX mode - Enabled
Framebuffer Memory - Auto
I'm thinking of playing around with the framebuffer memory after setting it to MANUAL. Any other suggestions? -
How do I read my old WORD files, it does not seem to recognize them?
I downloaded LION and now my WORD files that I had previoulsy can not be read. How do I get them back?
Elaine, did you change your name from Andy, or are you a separate person? Most of us don't pay that close attention to the name and since your response seemed to be a continuation of Andy's problem, nobody noticed.
Your question appeared to show absolutely no attempt to try the solutions provided for Andy (who we thought you were). What you did is called "threadjacking," and you did it in a way that made everyone believe you were actually Andy, who's thread you threadjacked.
Being that you are a self-professed novice, here's a very basic thing you need to understand: for the most part, data is separate from applications. So, just because your application (Word in this case) no longer works, that doesn't mean your documents are in jeopardy. You can install Office (Word) 2008 or 2011 and open those documents just fine. You can also use any of the programs mentioned to open those documents. There is nothing to "merge" between the applications.
To move them to your new computer, just copy the documents to an external hard drive, thumb drive, or CD/DVD. You can then move them to your Macbook. You can also turn on file sharing and move them that way, but you probably ought to have a backup since you claim them to be important.
Do you have a backup of your iMac? If not, I would suggest getting an external drive copying all your data onto that, make sure it all reads ok, then do what you need to do with your iMac.
Apple's setup assistant should have asked if you wanted to move stuff from your old computer to your new one, which would have been the best way to do that; however, since it appears you have already set up your account on the new Mac, I'd just back up the iMac, either by straight copy, Carbon Copy Cloner, or SuperDuper. You can then move the files you want onto your new Mac from the external hard drive. -
I have exausted my ideas, and turn to the forum, prior to paying for something that may be a 2second simple fix. Please help if you can. Let me know if you need more info to understand my dilema.
Thanks.Apps are permanently tied to the Apple ID used to purchase them. You will always be asked for the password associated with this ID when updating apps, regardless of whether or not you are using this ID for current purchases. The only way to stop this is to delete the old apps from your phone and iTunes and repurchase them with your current ID.
Edit: to change the ID used for future purchases on your phone, go to Settings>Store>Apple ID, tap the ID shown, sign out, sign back in using the new ID. As explained above, you will still be prompted with the old ID when updating apps purchase with the older ID.
Message was edited by: randers4 -
Windows does not seem to recognize my iphone as a storage device.
How can I make this happen so that I can save my photos to the computer? I've been able to do it in the past so I'm not sure what has changed.
It's supposed to show up as a camera because it is a camera. Additionally, you won't be able to sync your music from your iphone back to iTunes... media sync is one way... iTunes to the iPhone.
Google TouchCopy to copy the media from your iPhone to your computer. -
just upgraded my iMac to OS x snow leopard. Now I have another problem. Printer not working. I've unplugged and replugged, nothing happens
HELP
thanks in advanceGo to the website for your printer manufacturer and check if there are SL compatible drivers available for your model. This is not an unusual issue, and if the printer's not too old, the updated drivers should be there.
If you can't find one on the manufacturer's site, try Apple Support Downloads and look back through the updates in there; Apple has issued generic updates for a number of printers since SL's release, so you may find one that way.
After installing the new drivers you'll need to setup the printer again. -
Lightroom does not seem to recognize the files taken with my brand new Canon 7D mark ii
I am trying to download pictures I just took on my new Canon 7D mark ii camera and Lightroom is saying it can't preview the files. What do I do?? Can Lightroom not read the raw files from this camera or am I missing something?? Help!
Native Lightroom support for the D750 was added in the Lightroom 5.7 update released this evening.
Release details:
Lightroom 5.7: http://blogs.adobe.com/lightroomjournal/2014/11/lightroom-5-7-now-available.html
Camera Raw 5.7: http://blogs.adobe.com/lightroomjournal/2014/11/camera-raw-8-7-and-dng-converter-8-7-now-a vailable.html -
K7N2 does not seem to recognize any graphics card
Hi,
If anyone could help me out with this I'd really appreciate it, I'm pretty stumped.
Current Specs:
OS: Win XP Pro
Mobo: K7N2 Delta w/ nforce 2 chipset
Graphics Card: MSI FX5600 w/128 MB DDR
Power Supply: Antec SmartPower 350 Watt
Ram: 1GB
Here's the problem. When I boot my system, the windows logo comes up with the blue scroll bar below it but after that's done loading I get a stop error
STOP: 0x000000EA
This refers to either a graphics hardware/software related problem.
I tried booting up in safe mode and after system loads the bare minimum, screen goes black and just hangs. I tried using the "last known good configuration" option but it takes me back to the blue screen.
So, using a fresh unused hard drive I installed Windows XP and then proceeded to install brand new drivers for this card to see if it will work. Computer works fine before VGA drivers are installed, but afterwards I'm back to square one. I've tried FX5600 drivers from: the CD that came with the box, from the MSI website, nVidia's website, and from Windows update. All took me back to the initial problem once they've been installed.
Then I said "O.K., it must be the GeForce card itself." So I've tried several different graphics cards to try and replace the one I have now but whenever I use another card the system won't boot up. The fans will turn on and that's about it. I've tried PCI and AGP cards.
Does anyone have any advice for how to troubleshoot this issue? Does it sound like I can still get my card to work? How can I get another graphics card to work with the system?RAM Specs:
2 sticks of 512 MB PC2700 CL 2.5 Apacer RAM. I don't know if this matters but they're in DIMM slots 1 & 3.
I downloaded nForce drivers (version 5.10 as Richard suggested) and everything installed fine. However, the computer freezes whenever I'm using MSI liveupdate.
So, instead of using liveupdate I downloaded the nvidia drivers directly from Nvidia.com. During installation the screen flickered three times, and immediately after this the only thing appearing on the screen was a blinking cursor in the upper left; the computer just hung at this point. -
XML Data Source: does not seem to validate against XSD
I setup XML data source using the example "b-c.xml" and "b-c.xsd"; I changed the
root element of "b-c.xml" from "<db>" to "<Customers>"; but Liquid Data does not
seem to care or validate the instance document against the XSD.
Is this a known bug? It's something very basic and obvious!LD does indeed catch and report the mis-match at run-time as shown in the exception
below.
It does not valid the XML file against the schema at configuration time, only
at run-time. Hence Step 8 here - http://edocs/liquiddata/docs81/admin/xml.html#1035818
But beware - in some (most) cases LD does not do validation against the schema
for performance reasons. If the schema does not match you will simply get empty
results.
- Mike
java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-24: Cannot process
XML file source XM-BB-C. (com.enosysmarkets.xqdm.translators.XqdmTranslatorException:
Invalid root element name: 'CUSTOMERS'. Expected: 'db')
"David Song" <[email protected]> wrote:
>
I setup XML data source using the example "b-c.xml" and "b-c.xsd"; I
changed the
root element of "b-c.xml" from "<db>" to "<Customers>"; but Liquid Data
does not
seem to care or validate the instance document against the XSD.
Is this a known bug? It's something very basic and obvious! -
Windows 8.1 does not see or recognize my cd/dvd player on iMac?
Installed Windows 8.1 with bootcamp on my imac 10.9.1. Windows does not see or recognize my cd/dvd player on iMac? Everything else seems to work fine.
Any suggestions please?
MikeFixed the DVD problem. Please see below.
Step 1: Launch Command Prompt with administrator rights. To do this, switch to Start screen, type CMD and then simultaneously press Ctrl + Shift + Enter keys to launch elevated prompt. Click Yes for User Account Control prompt. You can also try other methods mentioned in our how to launch a program with admin privileges in Windows 8 guide.
Step 2: In the elevated prompt, paste or type the following command and press enter key:
reg.exe add “HKLM\System\CurrentControlSet\Services\atapi\Controller0″ /f /v EnumDevice1 /t REG_DWORD /d 0×00000001
(You can simply right-click on the prompt and select paste)
Step 3: Exit the Command Prompt, reboot your PC. You should now see the DVD drive in Windows Explorer as well as Device Manager.
Method 2:
Maybe you are looking for
-
Error run form builder visual c++ runtime library
when itry run form give me error Visual c++ runtime library assertion failed xperssion result ==utjer_success frm_10039 : unable to startup the from builder. why?
-
Mass idoc mail has been sent to many users
Dears, recently many user got lots of mail with title 'EDI: Incorrect status for inbound IDoc' in their inbox . i have checked these standard inbound idocs , and the process code has been linked to one task, such as TS00008068. Via we19 i have cr
-
Error 20 when trying to update my apps from Macbookpro 15' 2012
When trying to update my apps, with appstore, I get error 20... I'm stuck on that message from 1 week... :-( any advices ?
-
Do successful installd app server needs another DB?
Guys..! Here is the Issue ! 1.installed oracle application infrastructure 2.installed oracle application server Now , does it need to install another oracle database? to store forms reports ! i am asking this because Oracle app infrastructure coming
-
Syntax of synchronous & Asynchronous
Hi all, Plz tell me syntax of Synchronous and Asynchronous in Dialog program.. Thanks Venkat