Previous Topic

Next Topic

Common Mistakes

The following is a list of common mistakes when using Descriptors:

  • Forgetting to specify the required Descriptor parameters.
  • Not specifying a source URL when calling a relative URL from a Descriptor element.
  • Changing parameter requirements and not redeploying the Descriptor.
  • XML syntax problems. Use a tool like xmllint.
  • XSL syntax problems. Use a command line XSL processor.
  • Redeploying built in Descriptors and forgetting to redeploy other Descriptors.
  • If a Descriptor returns something other than XML, you can not use the Descriptor execute Web Service/API which returns a org.w3c.dom element. This attempts to turn the Descriptor result into XML and fails if it is not XML. Use the executeQueryToString Web Service/API instead.

See Also

Descriptors

What are Descriptors?

Advantages and Disadvantages of Descriptors

Namespaces and Descriptors

The <query> Tag

The <descriptor> Tag

Reserved Parameters

Descriptors FAQ

Descriptor Examples

Open Source logo

© 2001-2004 Tucana Technologies, Inc. Some rights reserved.

© 2006 The Mulgara Project. Some rights reserved.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".