Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-43395

XML validator with Schema have a problem, if exists more than 64 child nodes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.3.1, 5.4.0
    • Fix Version/s: None
    • Component/s: XML: QtXmlPatterns
    • Labels:
      None
    • Environment:
      Kubuntu 14.10 x86_64
      Kernel 3.13.0-43-generic
      Qt5.3 and Qt5.4
      g++ version 4.8.2

      Description

      I like validate a CANopen electrical data sheet (see attachment).
      The Schema allowed 255 child nodes of this type.
      But after 64 successfully checks of child nodes, fired QXmlSchemaValidator the followed error:

      <html xmlns='http://www.w3.org/1999/xhtml/'><body><p>Element <span class='XQuery-keyword'>

      {http://www.canopen.org/xml/1.0}

      CANopenSubObject</span> is not defined in this scope.</p></body></html>" QUrl( "http://www.w3.org/2005/xqt-errors#XSDError" ) QSourceLocation( QUrl( file:///home/chip/Quellen/ESA/software/paramtool/plugins/common/tests/data/camoga.xdd" ) , line: 172 , column: 144

      Download url of schema:
      http://www.canopen.org/xml/1.0/

      Note: A validation with 'xmllint' is successfully.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chip4qt Raymond Czerny
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes