mbeckerle commented on a change in pull request #48: All SDW have WarnIDs to 
support suppression of warnings.
URL: https://github.com/apache/incubator-daffodil/pull/48#discussion_r171313767
 
 

 ##########
 File path: daffodil-lib/src/main/scala/org/apache/daffodil/api/WarnID.scala
 ##########
 @@ -21,14 +21,33 @@ import org.apache.daffodil.exceptions.ThrowsSDE
 import org.apache.daffodil.exceptions.Assert
 import org.apache.daffodil.schema.annotation.props.{ Enum => PropsEnum }
 
-  sealed trait WarnID extends WarnID.Value
+sealed trait WarnID extends WarnID.Value
 
-  object WarnID extends PropsEnum[WarnID] {
-    case object All extends WarnID; forceConstruction(All)
-    case object MultipleChoiceBranches extends WarnID; 
forceConstruction(MultipleChoiceBranches)
-    case object EscapeSchemeRefUndefined extends WarnID; 
forceConstruction(EscapeSchemeRefUndefined)
+object WarnID extends PropsEnum[WarnID] {
+  case object All extends WarnID; forceConstruction(All)
+  case object MultipleChoiceBranches extends WarnID; 
forceConstruction(MultipleChoiceBranches)
+  case object EscapeSchemeRefUndefined extends WarnID; 
forceConstruction(EscapeSchemeRefUndefined)
+  case object NoEmptyDefault extends WarnID; forceConstruction(NoEmptyDefault)
+  case object AppinfoNoSource extends WarnID; 
forceConstruction(AppinfoNoSource)
+  case object AppinfoDFDLSourceWrong extends WarnID; 
forceConstruction(AppinfoDFDLSourceWrong)
+  case object QueryStylePathExpression extends WarnID; 
forceConstruction(QueryStylePathExpression)
+  case object PatternEncodingSlashW extends WarnID; 
forceConstruction(PatternEncodingSlashW)
+  case object NamespaceDifferencesOnly extends WarnID; 
forceConstruction(NamespaceDifferencesOnly)
+  case object AlignmentNotSame extends WarnID; 
forceConstruction(AlignmentNotSame)
+  case object InconsistentLengthKind extends WarnID; 
forceConstruction(InconsistentLengthKind)
+  case object FacetExplicitLengthOutOfRange extends WarnID; 
forceConstruction(FacetExplicitLengthOutOfRange)
+  case object DeprecatedFunctionDAFError extends WarnID; 
forceConstruction(DeprecatedFunctionDAFError)
+  case object DeprectatedBuiltInFormats extends WarnID; 
forceConstruction(DeprectatedBuiltInFormats)
 
 Review comment:
   check.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to