Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.
This repository was archived by the owner on May 19, 2025. It is now read-only.

http://scriptella.org/dtd/etl.dtd has an error - using <include> in <script>. #29

@hey-jude

Description

@hey-jude

I think dtd has an error.

I wrote xml and xml validator reports "include" in "script" is not allowed,
but it can be executed.

I guess that the definition of "include" in "script" in "query" is omitted.

  • the definition of "include" in "script" only has no dtd error.

It's my sample xml.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE etl SYSTEM "http://scriptella.org/dtd/etl.dtd">
<etl>
    <description>test skeleton</description>
    <properties>
        <include href="etl.properties"/> <!--Load from external properties file-->
    </properties>
    <!-- Connection declarations -->
    <connection id="con1" driver="$driver" url="$source.url" user="$source.user" password="$source.password" classpath="$classpath"/>
    <connection id="con2" driver="$driver" url="$target.url" user="$target.user" password="$target.password" classpath="$classpath"/>

    <query connection-id="con1">
        <include href="$query_sql" />
        <script connection-id="con2">
            <include href="$insert_sql" /> <!-- error reporting point -->
        </script>
    </query>
</etl>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions