Nested imports - a bug?

I am using the current beta version of the scehma processor and was facing the following problem.
I have 3 scehma files: One, Two and Common. The Common xsd file is referenced by both One and Two. The scehma file Two also references One. When I run the processor on scehma file Two, it gives an exception saying "Duplicate Definition" for the Common file definitions.
Is this a bug or am I doing something stupid and wrong? From what I understand the way the imports are used should be OK.
The files:
Common.xsd:
<xsd:schema xmlns:xsd="http://.....XMLSchema"
targetNamespace="http://Common"
xmlns="http://Common">
<xsd:complexType name="SomeType">
</xsd:complexType>
</schema>
One.xsd:
<xsd:schema xmlns:xsd="http://..../XMLSchema"
targetNamespace="http://One"
xmlns="http://One"
xmlns:common="http://Common">
<xsd:import namespace="http://Common"
schemaLocation="Common.xsd"/>
<xsd:element name="SomeElem" type="common:SomeType"/>
<xsd:complexType name="OneType">
</xsd:complexType>
</xsd:schema>
Two.xsd:
<xsd:schema xmlns:xsd="http://..../XMLSchema"
targetNamespace="http://Two"
xmlns="http://Two"
xmlns:one="http://One"
xmlns:common="http://Common">
<xsd:import namespace="http://One"
schemaLocation="One.xsd"/>
<xsd:import namespace="http://Common"
schemaLocation="Common.xsd"/>
<xsd:element name="SomeElem" type="common:SomeType"/>
<xsd:element name="anotherElem" type="one:OneType"/>
</xsd:schema>
Any help is greatly appreciated.
Thanx,
Chetan
null

yes it's a bug. I posted it a while back and then again recently with the latest release. The dev team say 'its on the list to be fixed'

Similar Messages

  • Bug in method newXSLStylesheet of XSLProcessor (with nested imports)

    This is a repost of a problem I still can't solve:
    I am using the parser included with the 9.0.2.0.0D XDK.
    There appears to be an bug in the method newXSLStylesheet when
    using the setBaseURL method to import nested stylesheets. The
    root level imports are found and processed, but child
    imports are not.
    The error I receive is:
    Error while processing include XSL file
    (/apps/badges/bml/includes/userBadges.xsl)
    The code that I am using to reproduce this error is below:
    XSLProcessor processor = new XSLProcessor();
    processor.setBaseURL(baseUrl)); sheet = processor.newXSLStylesheet(url);
    I am confident that all urls are correct, because the following
    deprecated code works correctly with the same urls.
    Document xslDoc = ParserUtils.parseDocument(url, false);
    sheet = new XSLStylesheet((oracle.xml.parser.v2.XMLDocument
    xslDoc, url);
    My stylesheets look something as follows:
    root.xsl
    <xsl:import href="/include/styles/html/members.xsl"/>
    members.xsl
    <xsl:import href="/apps/badges/bml/includes/userBadges.xsl"/>
    The import in members.xsl fails with the error above!
    Any help in this matter would be appreciated.
    Thanks,
    Michael Bacaarella
    Bolt, Inc.

    Please supply the sample XSL files for us to reproduce the problem.
    Thanks.

  • Importing modified Bug WIT does not refresh the template in TFS 2013 for the project created using Scrum Template.

    Hi,
    We have a TeamProjectA created in a collection using ScrumTemplate 2013.4. I have added a new State 'Duplicate' in the Bug WIT and modified the workflow. Also the ProcessConfiguration file is modified to match the metastate and imported using the ImportWit
    Commands which were successful. When I Export the modified WIT using Process Editor for TeamProjectA I can see the Bug.xml has my changes. However, when I try to create a new Bug through TWA, I do not see the new State'Duplicate' that I added.
    I dont see my changes are updated in the common configuration files Path ie C:\\Program Files\Microsoft Team Foundation Server 12.0\Tools\Deploy\ProcessTemplateManagerFiles
    Note: I have a different TeamProjectB created using the Agile template created under the same Collection as my other TeamProjectA. Not sure if this has anything to do with my problem.

    Hi NetLearuner15,  
    Thanks for your reply.
    If you want use witadmin command on your TFS Server machine, you need install VS 2013 on your TFS 2013 Server machine.
    Have you tried create new Bug using VS? The new added state value shows correctly in VS or cannot see it in VS too?
    You’re using TFS 2013 Update 4 and VS 2013 Update 4?
    Yes, you can restart your TFS Server and check the result.
    And we suggest you add a new custom field in your Bug_Test work item type(Fields and Layout) or only edit a default state value in it using Process Editor, then save this Bug_Test work item type and check if this new update shows correctly when you create
    a new Bug_Test work item from TFS Server. If the  new field or changed state value can be updated correctly in your TFS Server, I think your initial ‘Duplicate’ state value not defined correctly in your Bug WIT>>workflow.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Import folder bug

    Hi
    I am importing to Pictures/2010/date of shot
    If viewed in explorer everything is fine. It created the correct subfolders and moved the pictures into it.
    However, in the folder structure in the Library panel the new folders are located at the root of the folder structure, and they obviously cant be moved because they actually are already there.
    Is this bug still not corrected or am I missing something?
    How do I get to show the Library the correct folder structure without always having to delete, resync ...?
    Franz

    You can drag each of the top four folders into the 2010 folder with 88 items.
    LR will then move them on the hard drive.
    You will see something like this (Click image) and all you have to do is click move to confirm.

  • Camera kit: imported photos bug

    Hi
    I use to import all my photo to the ipad (hundreds), then once cleaned (I keep only the best) I plug to my computer and import from the ipad the few remaining
    Since 1 or 2 weeks I have a big bug. All the photos I import go to "imported" but the "last imported" doesn't exist any more and I can't see them with my computer.
    Worst, I can't even send them by email, I have the red cross (unexisting file) when I try.
    I used to see the file system on my PC, but now I only see the picture I took via screen shot or with any application.
    I restored backup many times, trying some different things, nothing changes. If I restore without using any backup, it works again, but I really don't want to lose all my applications settings.
    Any idea ?

    The iOS 4.2 update noticed the Photo Library was incorrect and proposed (successfully) to fix it.
    I got every single picture back.
    Message was edited by: chriscatfr

  • Import Problems/Bug

    I normally have three versions of the same file in a folder - .NEF, .PSD and .TIF, all serving different purpose. Lightroom appears to be confused when importing and does not recognise two out of the three. In other words it only brings in one file and when I try to import all three and it tells me that the the file already exists.
    So I removed all but .NEF files from the folder and imported them again. No problems. I then copied all my .PSD and .TIF files back in and tried to import. Lightroom tells me that .NEF file already exists even though I am trying to import .TIF! Go figure... Looks like a bug, sounds like a bug, walks like a bug - must be a bug... :-(
    Regards,
    Peter

    Wrong. They can exist in he same folder. Just won't import at the same time that way. Try it. Import the two different extension files into separate folders then move them together. Thay are fine. LR just won't do it for you at this time.
    And there are lots of threads rehashing and dealing with this issue. So a little searching will get you what's what.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core, Pentax *ist D
    http://donricklin.blogspot.com/

  • Import JPG Bug?

    Hi
    I work in RAW format but was importing some old JPG's from a folder. In this particular were 2 files, DSC_001.JPG and DSC_001.NEF
    I selected the JPG but in the preview panel of the import dialog the NEF was showing. I couldn't import the JPG unless I moved the NEF file out of the folder or renamed it.
    Am I doing something wrong or is this a bug?
    Lightroom v1.0
    iMac G5, OS X 10.4.8
    Cheers
    Dave

    <blockquote><span style="font-size: 90%><i>Am I doing something wrong or is this a bug? </i></span></blockquote>No and no. It's not a bug, it's a "feature".<br /><br />Alexander.<br><span style="font-size: 75%; color: #408080">-- <br>Canon EOS 400D (aka. XTi) &bull; 20" iMac Intel &bull; 12" PowerBook G4 &bull; OS X 10.4 &bull; LR 1 &bull; PSE 4</span>

  • Picture import order BUG

    Guys,
    I have emailed this as a significant bug many times. I do not think it is right to correct it in a new version of Keynote and leave it uncorrected in the current iWork 08 suite.
    One of the most common things I do is import digital images from my camera. They are all sequentially numbered - I use A Better Finder Rename so images less than 100 all have a leading zero if required. When I drag them to the slide sorter they ALWAYS import completely OUT OF ORDER. This means many hours of rearranging! I even have to go to each slide to select the image and look at its filename in the inspector to make sure they are in the correct order. This is a BIG burden. Please fix it.
    I have used KN since I got a free copy at MW 03. Please make this a bug fix.
    Best,
    rootdr

    I share your pain as we feel the same way about this onerous oversight.
    I have, however, found a solution.
    When I'm doing the slideshow, I resize the images accordingly, then export them to a designated folder. Along the way I rename them in an unambiguous way, simple numerical order.
    I NEVER use iPhoto for anything except syncing images with my iPhone, but in this instance, iPhoto is the answer. After the files are resized and renamed, import them into iPhoto, grouped as an event.
    Now go into Keynote, go to View in the Menu bar, and select Show Media Browser.
    Click the Photo tab at the top, toggle open the iPhoto folder and look for your event.
    Voila, you'll see the images arranged in numerical order.
    Click the first and then scroll to the end and shift click the last.
    When you now drag these to the far left slide panel and release, Keynote will import them all IN THE ORDER you specified, numerical!!!!!!
    Its a nuisance, but **** if it doesn't work.
    I was struggling through a several hundred slide show and I just couldn't stand it anymore.
    Thank goodness I found this technique.
    Hope that eases your frustration too.
    Regards,
    Mark
    www.imagema.com

  • Nested character references bug persists on 10.6.7

    Fonts that use nested character references still suffer from the same bug I reported more than a year ago: Mac OS X 10.6.2 messes up fonts that use nested character references. What can be done about that?

    In OS X 10.7 Lion, this has been fixed finally! So in this respect, Lion is again as good as Leopard. I hope that other Snow Leopard font bugs have been fixed, too.

  • Application Builder  Import App Bug

    When an application is imported and installed you have three choices, run, edit app, and edit app attributes..
    This is on page f?p=4000:57
    If you click the run application it ALWAYS points to /apex/f?p=APP_ID:1:SESSION
    I for one do not have a page one in my application so I have to click edit application then click the traffic light within my application to properly run my app.
    I do believe this was like this is previous versions but none the less it is in version 2.2.1
    Thanks,
    Justin

    Simple solution:
    Make a page 1 (blank) that automatically redirects it to whatever page you want.

  • Importing XML Bug Feature

    PB 12.5.1
    I realize this has been the case since the beginning but I am finally asking the question - why would ImportString(XML!, lsXML) not import the values above the Start Detail setting???  This has always been an annoyance because you can Export the data but not turn around and Import it!  It seems so simple to support so I can only assume there is just some technical issue that prevents it from working.  If anyone can shed light on why I would love to know.
    That being said, is there a better solution then finding the data in the XML string and then setting the columns in code?  My XML is typically pretty small in size so using PBDOM seems like overkill.  Any other suggestions or tricks that one might have to use the power of the DW to handle it?
    Thanks,
    Chris Craft

    If anyone is interested...I ended up createing 2 template names (HeaderValues, DetailValues) in the DW.  One has the 'Start Detail' set for the highest node which gets me the header elements.  The other one has the 'Start Detail' set on the actual detail row.  I import the XML using the first template, get my header values and then change the template to DetailValues and Import again.  Now I just loop through the detail rows in the datastore.  Simple!
    Chris Craft

  • Import data bug

    when a text field in a .csv file enclosed in quotes contains a comma, the quotes are ignored and the field is viewed as 2 fields by the import proceedure,
    i.e.: 'text1, text2' is imported as 2 seperate fields, 'text1' and 'text2'

    I am using ver. 1.5.1.
    When using the import data utililty on the GUI selected when you left click on a table name, if a quoted field contains a comma the utility splits the field into multiple fields:
    example:
    Error starting at line 5 in command:
    INSERT INTO DISTRICT (DIST_NUMBER, ADDRESS1, ADDRESS2, ADDRESS3, ADDRESS4, CITY, STATE, ZIP_CODE)
    VALUES ('20', '''NASHVILLE #020''', '''3308 BRILEY PARK BLVD.', ' SOUTH''', '''NASHVILLE BUSINESS CENTER 1''', '''''', '''NASHVILLE''', '''TN''')
    Error report:
    SQL Error: ORA-12899: value too large for column "GECBBA6"."DISTRICT"."STATE" (actual: 11, maximum: 3)
    12899. 00000 - "value too large for column %s (actual: %s, maximum: %s)"
    *Cause:    An attempt was made to insert or update a column with a value
    which is too wide for the width of the destination column.
    The name of the column is given, along with the actual width
    of the value, and the maximum allowed width of the column.
    Note that widths are reported in characters if character length
    semantics are in effect for the column, otherwise widths are
    reported in bytes.
    *Action:   Examine the SQL statement for correctness.  Check source
    and destination column data types.
    Either make the destination column wider, or use a subset
    of the source column (i.e. use substring).
    original input:
    '20','NASHVILLE #020','3308 BRILEY PARK BLVD., SOUTH','NASHVILLE BUSINESS CENTER 1','','NASHVILLE','TN','37207'
    as you can see '3308 BRILEY PARK BLVD., SOUTH' is one field, yet the import utility views it as two fields '3308 BRILEY PARK BLVD.' and 'SOUTH'

  • Oxygene Import folder bug re-appears with DVDSP 4

    I thought this was a thing of the past but it has re-appeared again but this time, the original workaround will not work. See this post for that:
    http://discussions.apple.com/thread.jspa?threadID=1276701&tstart=0
    This time around, the fix referenced above not only doesn't get rid of the folders, but removes the DVDSP menu bar at the top of the screen, requiring a keyboard command quit.
    The original problem is this: When launching DVDSP, two identical folders titles "MultiMediaImporter.oxygene" appear in the dock, and continue to bounce for about 25 seconds. They cannot be closed or removed from the dock as long as DVDSP is running. There seems to be no effect of functioning in the app, it is simply annoying. In my case, I have a full dock as it is, and adding two more folders pushes everything off screen.
    This is the latest version of FCS with all updates. I've done the usual pref trashing and etc.

    I had been searching for a solution for this for a long time - This worked like a charm!!
    To reiterate:
    Problem: upon launching DVD Studio Pro two generic folder icons representing multimediaimporter.oxygene also 'launch'.
    Solution:
    Start DVD Studio Pro. Right-click on one of the 'multimediaimporter.oxygene' folders in the Dock and select 'Show in Finder'. Quit DVD Studio Pro now. Back in Finder navigate to the 'Contents' folder of 'multimediaimporter.oxygene' and back-up the existing 'Info.plist' by selecting File > Duplicate in Finder. Now open 'Info.plist' in TextEdit. After the 5th line ("<dict">) add two lines:
    <key>NSUIElement</key>
    <string>1</string>
    You can also add a tab at the beginning of the line for formatting . Save the changes and relaunch DVD Studio Pro for all you authoring needs.
    NOTE go to the 'Contents' folder that is inside the 'multimediaimporter.oxygene' folder (not the 'Contents' folder that the 'multimediaimporter.oxygene' is in.

  • [IMPORTANT] LED BUG & LOCKSCREEN BUG - Update is coming!

    Hello Community!
    I have some great news for you!
    I recently spoke with a customer service representative from Sony and he has assured me that Sony is aware of the problems.
    There will be both fixed, the lockscreen notifications AND the notification LED (for SMS and WhatsApp, etc.)!
    The update will be rolled out within the next 2 to 3 weeks.
    This is valid at least for Germany But I think that everyone else will get the update to a similar time!
    I hope I could help you with this message.
    Below is the original message history (in German):
    Me:
    Sehr geehrter Kundensupport,
    Seit dem Upgrade auf Android 4.0.4 ICS funktioniert die LED Benachrichtigung bei eingehenden SMS oder anderen Apps (wie Whatsapp etc.) bei niemandem mehr!
    Des Weiteren wird keine Lockscreen Benachrichtigung angezeit, wenn eine SMS eingegangen ist oder man einen Anruf verpasst hat.
    Im Namen von vielen unzufriedenen Kunden würde ich gerne wissen, ob und vor allem wann ein Update kommt, dass diese Probleme wieder behebt!
    S***:  Herzlich willkommen im Sony Xperia Support, mein Name ist S***. Einen Moment bitte ich lese eben Ihre Frage durch.
    S***:  Hallo M***, dabei handelt es sich um ein bekanntes Problem. Wir arbeiten derzeit an einem Update um selbiges zu beheben.
    Me:  Das hört sich gut an! Werden damit beide genannte Probleme behoben?
    S***:  Ja, beide Probleme werden mit dem kommenden Update behoben werden.
    Me:  Klasse, das freut mich. Können Sie mir / uns einen ungefähren Zeitraum nenne, wann das Update ausgerollt wird?
    S***:  Ich gee davon aus, dass das Update in den nächsten 2 Wochen ausgeliefert werden sollte.

    awesome news, do you think they can comment on this?
    Sony agreed to 18months updates after the release day, is Sony keeping their word?
    http://talk.sonymobile.com/message/223571#223571
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • Corrupt dump file, foreign keys not generated on import

    Hi,
    In our refresh job, we get the dump file from production and use it to refresh the schema in UAT.
    The dump file thus we got from production seems to be corrupt - as its giving error - "IMP-00008: unrecognized statement in the export file: "
    But the error we are getting is for few users, while other users are being imported fine. For the users which got imported fine, the foreign keys are missing !!!
    There is no "error" in the import log regarding the foreign keys.
    We tried to get the indexfile and it has all "Create Table" statements, along with indexes, primary key, check constraints etc .... only the FOREIGN KEYS are missing.
    How can this be explained ?
    With Regards,
    Shalini.

    Some suggestions:
    1. Check Note:111384.1 if you are trying to import from the tape directly.
    2. You can set a bigger buffer size and check whether the error reappears.
    3. If you are trying to perform a full import and the error always seemed to be happening when it tried to import the 56th user, you set init.ora parameter license_max_users (which is set to 55) to a bigger value.
    These are apart from the main reason for this error, i.e., corrupted export file or Import internal bug.

Maybe you are looking for

  • Clips do not show up in the Project yet are present in timeline.

    I have something weired going on. I have a timeline with a sequence that came from version 5.5 (had to ingest XML from FCP7 via PPro CS5.5 as the CS6 is too buggy and will not work with complex  XML handling). I have a few clips that are present in t

  • Why are my photos from my external hard drive grayed on in iphoto? they appear ok in the preview app.

    Hi Completely new to macs, just bought a mac book air. I bought a My Book Live wireless external hard drive and copied all my photos from pc lap top to this drive. When I go to iphotos i selected 'switch library' and can click on the my book drive fi

  • Google Voice not working in Blackberry Bold 9700

    I am using blackberry bold 9700  with the OS version  5.0.0.714; I have downloaded google voice and its not working, let me give the details: 1) It can sign-in and also detects my goog voice number (while sign-in used gmail id to login) 2) Cannot sen

  • Unable to edit info in itunes????

    Hi, I have recently got a new PC, and I am having problems with itunes. Here is the details: The hard drive which contains itunes music folder has been put into the new PC has a secondary drive. I added folder within itunes and all my music is now th

  • Download problem with pacman

    Hi, i'm new to archlinux and am currently installing arch, unfortunately pacman waits for about 15-20 seconds after each package before he gets the next one so that installing packages is realy time consuming (downloadspeed of the packages is normal