Ticket #110 (closed enhancement: fixed)

Opened 2 years ago

Last modified 23 months ago

Provide missing XML schemas for configuration files

Reported by: MartinLeidig Owned by: MartinLeidig
Priority: major Milestone: 0.15.0
Component: Core (general) Version:
Keywords: Cc:

Description

We should provide XML Schemas for the project.xml and depend.xml configuration files.

Change History

Changed 2 years ago by MartinLeidig

Support for custom attributes in depend.xml: there are applications which add custom attributes to standardpage elements. The XML schema will support this by allowing any attributes from a namespace other than the target namespace, e.g. <make xmlns:myns="http://my-namespace" ...> <standardpage name="APage" xml="xml/frame.xml" myns:sitemap="true">

Applications adding custom attributes in the target namespace will have to put them in an extra namespace.

Changed 2 years ago by MartinLeidig

The depend.xml schema will also allow custom elements from other namespaces than the target namespace, e.g. <make xmlns:myns="http://my-namespace" ...> <myns:someElement/>

Changed 2 years ago by MartinLeidig

The depend.xml schema still allows custom attributes in the target namespace at the page elements inside the navigation (as it's common use). We should try to make the complete navigation optional (see Ticket #111).

Changed 2 years ago by MartinLeidig

  • milestone changed from 0.15.0 to 0.16.0

Giving depend.xml a namespace has too much side effects to implement it in 0.15, e.g. XPath expressions have to be adapted (within XSL and Java - the XPath API abstraction, etc.).

Changed 2 years ago by MartinLeidig

  • milestone changed from 0.16.0 to 0.15.0

Provided a depend.xml schema without namespace, which can be included using noNamespaceSchemaLocation xsi:noNamespaceSchemaLocation="http://www.pustefix-framework.org/2008/namespace/xml-generator-config.xsd"

Changed 2 years ago by MartinLeidig

still to do: schema for project.xml

Changed 23 months ago by MartinLeidig

  • status changed from new to closed
  • resolution set to fixed

Added schema for project-config. Now all config files have schemas.

Note: See TracTickets for help on using tickets.