Menu

Bug Reports

2012-06-27
2012-06-29
  • Tony Sullivan

    Tony Sullivan - 2012-06-27

    Is this a bug or do I need to code something differently?

    Below is a part of the XML producced by the Energistics.DataAccess.dll with the (cut down) code that produces it.

    Note that dTimStart, dTimEnd, dateStart, and dateEnd tags are all present in the xml.

    The "dTimStart, dTimEnd" and "dateStart, dateEnd" sequences are choices in the XSD so showing both is wrong.

    Any help would be greatly appreciated.

    using Energistics.DataAccess.PRODML121;
    ..snip..
            ProductVolumeList ProductVolumeList = new ProductVolumeList();
            ProductVolumeList.ProductVolume = new List<ProductVolume>();
            ProductVolume ProductVolume = new ProductVolume();
            ProductVolumeList.DocumentInfo.DocumentName = new NameStruct("blah");
            ProductVolumeList.DocumentInfo.Owner = "blah";
    
            ProductVolumeList.Items.Add(ProductVolume);
    
            ProductVolume.PeriodKind = ReportingPeriod.Week;
            ProductVolume.DateTimeStart = new DateTime(2009,3,30);
    ..snip..
            Energistics.DataAccess.EnergisticsFile.WriteFile(OutFile, ProductVolumeList);
    
      <?xml version="1.0" encoding="utf-8" ?> 
    - <productVolumes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.prodml.org/schemas/1series">
    - <documentInfo>
      <documentName>blah</documentName> 
      <owner>blah</owner> 
      </documentInfo>
    - <productVolume>
      <periodKind>week</periodKind> 
      <dTimStart>2009-03-30T00:00:00</dTimStart> 
      <dTimEnd>0001-01-01T00:00:00</dTimEnd> 
      <dateStart>0001-01-01T00:00:00</dateStart> 
      <dateEnd>0001-01-01T00:00:00</dateEnd> 
    
     
  • Energistics

    Energistics - 2012-06-27

    Hello Tony,

    We will look into it. Thanks for pointing it out and don’t hesitate to reply if you have other questions.

    Best regards,

    Joey Magsipok

     
    • Tony Sullivan

      Tony Sullivan - 2012-06-29

      Hello Joey,
      Thanks for the prompt response.
      Two further questions:

      1) Is this forum the best place for me to raise these issues?

      2) Can you give me any idea on how long you expect your investigation to take? I appreciate this is open source software - I am just trying to get a rough feel for how much effort I need to put in to investigating this myself and how much of that effort might be wasted/duplicated.

      Thanks
      Tony

       
  • Energistics

    Energistics - 2012-06-29

    Hi Tony,

    I am as curious as you are re this scenario. For now I think you may leave the investigation to me inasmuch as I may also contact other users in the field. I would like to find out about the ProductVolumeList though since that does not seem to be an original component.

    This forum helps other folks see what issues there are. And I should be able to get back with you when I open the postings; I'll check more regularly. We can also provide each other our work email addresses for a shorter turnaround, and then post new questions and discoveries after.

    Thanks,
    Joey

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.