jochen      2005/05/10 19:42:25

  Modified:    .        Tag: v0_4 status.xml
               src/xs/org/apache/ws/jaxme/xs/util Tag: v0_4 DTDParser.java
  Log:
  Fixed, that the DTD parser wasn't generating complex types properly.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.45.2.7  +5 -0      ws-jaxme/status.xml
  
  Index: status.xml
  ===================================================================
  RCS file: /home/cvs/ws-jaxme/status.xml,v
  retrieving revision 1.45.2.6
  retrieving revision 1.45.2.7
  diff -u -r1.45.2.6 -r1.45.2.7
  --- status.xml        7 May 2005 19:42:44 -0000       1.45.2.6
  +++ status.xml        11 May 2005 02:42:25 -0000      1.45.2.7
  @@ -31,6 +31,11 @@
   
     <changes>
       <release version="0.4" date="Not yet published">
  +      <action dev="JW" type="fix" context="xs">
  +        Fixed, that the DTD parser wasn't generating complex
  +        types properly. (Richard Calmbach,
  +        RichardCalmbach at fairisaac.com)
  +      </action>
          <action dev="JW" type="fix" context="generator">
            The PropertySG didn't distinguish clearly between
            the property name ("foo") and the generated Java
  
  
  
  No                   revision
  No                   revision
  1.2.2.2   +2 -1      
ws-jaxme/src/xs/org/apache/ws/jaxme/xs/util/DTDParser.java
  
  Index: DTDParser.java
  ===================================================================
  RCS file: 
/home/cvs/ws-jaxme/src/xs/org/apache/ws/jaxme/xs/util/DTDParser.java,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- DTDParser.java    9 May 2005 19:19:48 -0000       1.2.2.1
  +++ DTDParser.java    11 May 2005 02:42:25 -0000      1.2.2.2
  @@ -779,7 +779,8 @@
           parse(syntaxSchema, pInputSource);
           XSSchema schema = context.getXSObjectFactory().newXSSchema(context, 
syntaxSchema);
           setSchema(schema);
  -        addSyntaxSchema(syntaxSchema);
  +             parse(syntaxSchema, pInputSource.getSystemId());
  +             schema.validate();
           return schema;
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to