Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1089

Validate included document against a DTD if specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.0
    • None
    • XInclude 1.0
    • None
    • All

    Description

      Context:

      main.xml specifies main.dtd and includes fragment.xml
      fragment.xml specifies fragment.dtd

      Parsing main.xml with XInclude enabled and the schema feature set has the following results:

      • main.xml is validated against main.dtd
      • fragment.xml is not validated

      Comment from Michael Glavassevich on the dev list:
      ***
      To be consistent with what occurs on the main pipeline, I suppose validation
      should occur if the document being processed on the child pipeline has a
      DTD and if it doesn't then no errors should be reported for it not having
      a DTD grammar. Fixing this behaviour in 2.7.1 is probably doable.
      ***

      Thanks,
      George

      Attachments

        Activity

          People

            mrglavas@ca.ibm.com Michael Glavassevich
            george@sync.ro George Cristian Bina
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: