You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by sa...@apache.org on 2004/01/22 16:22:53 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/impl/xs/traversers XSDNotationTraverser.java

sandygao    2004/01/22 07:22:53

  Modified:    java/src/org/apache/xerces/impl/xs/traversers
                        XSDNotationTraverser.java
  Log:
  Putting the change for schema errata E1-16 back in.
  publicId attribute is now optional on notation.
  
  Revision  Changes    Path
  1.12      +2 -6      xml-xerces/java/src/org/apache/xerces/impl/xs/traversers/XSDNotationTraverser.java
  
  Index: XSDNotationTraverser.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/traversers/XSDNotationTraverser.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- XSDNotationTraverser.java	23 Jun 2003 16:35:22 -0000	1.11
  +++ XSDNotationTraverser.java	22 Jan 2004 15:22:53 -0000	1.12
  @@ -2,7 +2,7 @@
    * The Apache Software License, Version 1.1
    *
    *
  - * Copyright (c) 2001-2003 The Apache Software Foundation.  All rights
  + * Copyright (c) 2001-2004 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -102,10 +102,6 @@
               reportSchemaError("s4s-att-must-appear", new Object[]{SchemaSymbols.ELT_NOTATION, SchemaSymbols.ATT_NAME}, elmNode);
               fAttrChecker.returnAttrArray(attrValues, schemaDoc);
               return null;
  -        }
  -
  -        if (publicAttr == null) {
  -            reportSchemaError("s4s-att-must-appear", new Object[]{SchemaSymbols.ELT_NOTATION, SchemaSymbols.ATT_PUBLIC}, elmNode);
           }
   
           XSNotationDecl notation = new XSNotationDecl();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org