Validating DTD Parser
Stylus Studio® 5.1 fully supports XML document validation based on DTD (in addition to full support for W3C XML Schema) to ensure compatibility with legacy XML systems. DTDs can be internally or externally defined. To associate any open XML file with an externally defined DTD, click XML > Associate XML with Schema from the Stylus Studio® menu.
Specify Any Third-Party XML Parsers and Validators
Stylus Studio® supports a Universal DTD Parsing and Validation Architecture you can perform a DTD-based XML document validation using Stylus Studio®'s internal DTD validating parser, or you can use any third-party validating DTD parsers (DTD validators) such as MSXML 4.0 SAX, MSXML 4.0 DOM, Microsoft .NET XML Parser (System.XML), Apache Xerces-J 2.5.1, and more. Validating an XML document against its associated DTD is easy simply click the Validate Document button (the tree diagram with the green checkmark) in Stylus Studio®'s XML Editor, then select the DTD validating parser you want to use.
The ability to directly integrate any DTD processor and DTD validator with Stylus Studio®'s intuitive visual XML editors enables you to easily troubleshoot XML documents, making Stylus Studio® the XML editor of choice for both DTD- and XML Schema-based XML document authoring.
Real-Time Syntax Checking and DTD Validation Error Reporting
Stylus Studio® provides both real-time syntax checking and a powerful error reporting console to help find and correct syntax errors, thereby reducing testing and QA cycles and accelerating overall XML development. Real-time XML syntax checking verifies that your XML code's syntax is well formed and checks it's validity (against its DTD) as you type. Sense:X highlights XML syntax errors in real-time, and its auto-completion mechanism displays contextually valid prompts to help speed coding. Stylus Studio® automatically detects any changes in the associated DTD, eliminating the need to manually refresh so you know your code will always be accurate.
In the following illustration, Stylus Studio®'s real-time syntax checking has reported an error with the <titles> element this element is not defined in its respective Document Type Definition, so it is highlighted in orange during editing, and it is reported in the output window at the time the XML is validated.
Any error messages resulting from a failed XML validation attempt are written to an error console. Stylus Studio®'s Output window can handle multiple XML parsing or XML validation errors. Each error is displayed in its own Output window and includes a useful error message and a corresponding line number explaining the nature of the underlying XML parsing or validation error.
Thanks to Stylus Studio®'s thoughtful Backmapping technology, you can click on any DTD validation error message in the Ouput window, and Stylus Studio® automatically highlights the line of source code in which the problem originates. You can cycle through multiple errors by pressing the F4 key. Backmapping is a powerful debugging/troubleshooting tool, one that you'll quickly grow to appreciate.
Integrate Any Third-Party DTD Validator or DTD Processor
Configuration of a third-party DTD validation and parsing engine is done in the Options dialog box, as shown here. Our Open XML Parsing and XML Validation Architecture guarantees development support for the same XML processor and/or XML validator that you use in your production environment. So you can develop, test, and deploy knowing that you won't be surprised when your application goes live.
Stylus Studio®'s Open XML Parsing and XML Validation Architecture is a requirement for real-world XML development, honoring the underlying XML theme of working toward true openness and interoperability.
Benefits of Stylus Studio®'s Open DTD Validation Architecture
Stylus Studio®'s Open DTD Parsing and XML Validation Architecture is a critical aspect of our award-winning XML IDE, one that can make the difference between a project's ultimate success or failure. Here's why:
In summary, Stylus Studio®'s DTD open support for any DTD parser and validator ensures backward compatibility with older XML applications, and it provides helpful debugging and troubleshooting features when working with DTDs.
PURCHASE STYLUS STUDIO ONLINE TODAY!!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Try Stylus DTD Tools
Download a free trial of our award-winning DTD tools today!
What's New for X15?
New XQuery & Web Services Tools, Support for MySQL, PostgreSQL, HL7 EDI, Microsoft .NET Code Generation and much more!