org.xml.sax.SAXParseException: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type 'NonEmptyString'.\E).)*(?:\s)*)* However, the Matcher.find() returned true, while the Matcher.group() is SchemaValidationException: Validated XML message - message invalid. [Error Code cegst01_350]\r\n

Coderanch | pkinuk Buler | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to write a regex to include a text but exclude another text in the one regex?

    Coderanch | 5 years ago | pkinuk Buler
    org.xml.sax.SAXParseException: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type 'NonEmptyString'.\E).)*(?:\s)*)* However, the Matcher.find() returned true, while the Matcher.group() is SchemaValidationException: Validated XML message - message invalid. [Error Code cegst01_350]\r\n

    Root Cause Analysis

    1. org.xml.sax.SAXParseException

      cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type 'NonEmptyString'.\E).)*(?:\s)*)* However, the Matcher.find() returned true, while the Matcher.group() is SchemaValidationException: Validated XML message - message invalid. [Error Code cegst01_350]\r\n

      at com.qxlva.common.util.XMLUtility.validateMessage()
    2. com.qxlva.common
      XMLUtility.validateMessage
      1. com.qxlva.common.util.XMLUtility.validateMessage(XMLUtility.java:257)
      1 frame
    3. com.qxlva.nhs
      SocketConnection.run
      1. com.qxlva.nhs.api.release2.socketxml.readers.InputReaderBaseImpl.a(InputReaderBaseImpl.java:7)
      2. com.qxlva.nhs.api.release2.socketxml.readers.InputReaderBaseImpl.<init>(InputReaderBaseImpl.java:1)
      3. com.qxlva.nhs.api.release2.socketxml.readers.InputReaderWithSSODataImpl.<init>(InputReaderWithSSODataImpl.java:11)
      4. com.qxlva.nhs.api.release2.socketxml.readers.GetRolesReaderImpl.<init>(GetRolesReaderImpl.java:4)
      5. com.qxlva.nhs.api.release2.socketxml.CoreInputReaderFactoryImpl.newInputReader(CoreInputReaderFactoryImpl.java:85)
      6. com.qxlva.nhs.api.release2.socketxml.CoreInputReaderFactoryImpl.newInputReader(CoreInputReaderFactoryImpl.java:14)
      7. com.qxlva.nhs.api.release2.socketxml.CoreInputReaderFactoryImpl.newInputReader(CoreInputReaderFactoryImpl.java:52)
      8. com.qxlva.nhs.api.socket.protocols.NewlineDelimitedAPIBridge.process(NewlineDelimitedAPIBridge.java:108)
      9. com.qxlva.nhs.api.socket.protocols.NewlineDelimitedAPIBridge.process(NewlineDelimitedAPIBridge.java:20)
      10. com.qxlva.nhs.api.socket.SocketConnection.d(SocketConnection.java:29)
      11. com.qxlva.nhs.api.socket.SocketConnection.run(SocketConnection.java:172)
      11 frames