Skip Menu |

This queue is for tickets about the XML-Pastor CPAN distribution.

Report information
The Basics
Id: 37536
Status: resolved
Estimated: 15 min
Worked: 15 min
Priority: 0/
Queue: XML-Pastor

People
Owner: Nobody in particular
Requestors: jmicco [...] mathworks.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in:
  • 0.54
  • 0.53
Fixed in:
  • 0.6.0
  • 0.6.1
  • 0.6.2
  • 0.6.3
  • 1.0.0
  • 1.0.1



Subject: Code Generated by XML::Pastor does not include correct use statements for ::Type objects
When generating code with XML::Pastor, the resulting code would not compile because it used an ISA for a class that had no Use in the type directory. I have included the XML schema files that I used for the generation, a sample XML file that is valid for the schema, and the generation and try programs that I tested.
Subject: schema.tar
Download schema.tar
application/x-tar 30k

Message body not shown because it is not plain text.

Yes, this was very annoying indeed. It was a quick and easy fix that came with 0.6.0. The problem is that most of the testing is done in 'eval' mode which doesn't need the 'use' statements (which are only needed in offline/multiple mode). More test cases are welcome. Please help make this module more robust. On Tue Jul 08 13:04:40 2008, jmicco wrote: Show quoted text
> When generating code with XML::Pastor, the resulting code would not > compile because it used an ISA for a class that had no Use in the type > directory. > > I have included the XML schema files that I used for the generation, a > sample XML file that is valid for the schema, and the generation and try > programs that I tested. >