QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

What do you mean by 'valid' ? How can a schema tell if my XML document is valid?

Paul's Newbie XML FAQ
Well formed" just means that all of your begin-tags have end-tags, that your <element>s are properly nested, that you're not missing any angle-brackets, and all your attributes have values.

How do I specify a schema location other than in an XML document?

Tree/FAQ - Code Synthesis Wiki
There are several methods to programmatically specify schema locations to be used in validation. For example, you can use the xml_schema::properties argument to parsing functions to specify schema locations instead of those specified with the xsi::schemaLocation and xsi::noNamespaceSchemaLocation attributes in XML documents. For more information refer to Section 5.1, "XML Schema Validation and Searching" in the C++/Tree Mapping Getting Started Guide.

Can I createe xml document by using DTD or XML Schema?

JavaChina: FAQ on XML by Roseanne Zhang
The answer is yes or no. XML spy or anyone else can make an example from xml schema or dtd easily. I also made 4 examples from my trivial DTD on my FAQ here. This does not mean you can generate XML deterministically from xml schema or dtd. If you make your algorithm a lot more complicated by using (direct) graph theory, you even can decide the root element. However, it is still non-deterministic.

What is an XML Schema?

FeedStream Provides Custom Web Design, Intranet, XML Databas...
XML Schema acts as a template for XML data. A Schema is used to define the basic structure of an XML document, so that a group of related items will share a common format. This is important because it is much easier to process XML data which is in a consistent, predictable format. Schemas contain a combination of elements, each of which stores a single data type. Because of the flexibility of XML, an element can store anything from a simple name or phone number to a full-fledged annual report.

Is there an XML schema for the DITA DTDs?

Frequently Asked Questions about the Darwin Information Typi...
Yes, the DITA toolkit provides both DTD and XML Schema representations of the architecture. The basic concepts of DITA are not tied to implementation. Both schemas and DTDs can be used to define specializable DITA elements.

What does nillable mean in schema? How to specify it in instance document?

JavaChina: FAQ on XML by Roseanne Zhang
In database systems, we use NULL to represent the value of an attribute that is unknown or not applicable. In XML Schema, we can use nillable attribute to indicate that whether the element's content could be nil, as in and this element must not contain any content. The namespace prefix are defined as xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" There are many misspelling on the web.

How can I construct an XML document that is valid and conforms to the XML namespaces recommendation?

rpbourret.com - XML Namespaces FAQ
The XML namespaces recommendation does not redefine validity, such as in terms of expanded names (see Namespace Myth #9). Thus, validity is the same for a document that uses XML namespaces and one that doesn't. In particular, with respect to validity: Qualified names are treated like other names. For example, in the name foo:A, foo is not treated as a namespace prefix, the colon is not treated as separating a prefix from a local name, and A is not treated as a local name.

Will there be an XML-Schema version of RecipeML?

RecipeML - Frequently Asked Questions
There have been some requests for an XML-Schema representation of the RecipeML format. If there continues to be sufficient interest and time permits, FormatData will most likely produce one. If a third party would like to create one, FormatData will be happy to help verify it and post it on this site.

What are the compositors in xml schema?

JavaChina: FAQ on XML by Roseanne Zhang
all: It defines an unordered set of elements. Attention: all must be the only child of its parent content model and members in all only allowed to be elements and the cardinality of 0 or 1. all cannot be nested in other compositors either.

What are the derivation methods in xml schema?

JavaChina: FAQ on XML by Roseanne Zhang
abstract is the same concepts in Java or C++, a type is abstract means it is not instantiable, or Specifies whether the complex type can be used in an instance document. True indicates that an element cannot use this complex type directly but must use a complex type derived from this complex type. final is to prevent derivation just like final class in Java. block is to prevent substitution of the ISA relationship in the OO sense.

Will xml schema replace DTD?

JavaChina: FAQ on XML by Roseanne Zhang
IMHO, no, xml schema will gain more market shares, but it will never replace DTD. Xml schema has a serious problem, which is too complicated. Read an excellent article from Dr. David Mertz here Comparing W3C XML Schemas and Document Type Definitions (DTDs).C (born in 1970's), C++ (born in 1980's), Java (born in 1990's) have not finally replaced FORTRAN/COBOL ((born in 1950's) yet. .NET ((born in the 21st century) is actually making FORTRAN/COBOL more alive than before.

Is there a BPG XML Schema?

Topics: BPGDTD4-0 FAQ
Not yet. On 24 October 2000, The World Wide Web Consortium (W3C) issued XML Schema as a W3C Candidate Recommendation. It will take some time for XML schema to become a W3C Recommendation, and for a BPG XML Schema to be developed and tested.

Are there any converters from RELAX to XML Schema?

The RELAX FAQ (Frequently Asked Questions)$Id: faq-e.xml 1.1...
Since XML Schema is not finalized, no conversion programs are currently available. We plan to develop such a conversion program and disclose its source program under an open source licence, when XML Schema becomes a W3C recommedation. As long as you use features of Conformance Level "classic" of RELAX Core, you should be able to convert your RELAX grammars to XML Schemas automatically.

Why not use W3C XML Schema?

W3C Schema versions of the Archiving and Interchange DTD and the Journal Publishing DTD are now available. The DTD authors considered writing the "master" version of these tag sets in W3C XML Schema before we wrote the DTD. We understand that many people want to use XML schemas, and that there are XML tools that use only W3C XML Schema. We chose to express the "master" version of these tags sets in DTD form for several reasons (described below).

What is the Schema?

Environment settings set by a batch file are not working.
The Schema is a blueprint of all objects in the domain and when first created a default Schema exists which contains definitions for users, computers, domains etc. Because of this, you can only have one schema per domain as you cannot have multiple definitions of the same object. The default schema definition is defined in the SCHEMA.INI file that also contains the initial structure for the NTDS.DIT (storage for the Directory data). This file is located in the %systemroot%\ntds directory.

Is there an XML schema that I can validate my XML Sitemap against?

sitemaps.org - FAQ
Yes. An XML schema is available for Sitemap files at http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd and a schema for Sitemap index files is available at http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd. You can also read more about validating your Sitemap.

Why do I get "error: Unknown element 'root-element'" when I try to parse a valid XML document?

Tree/FAQ - Code Synthesis Wiki
This usually means that the parser could not find a schema to validate your XML document against. Since by default validation is turned on, this results in an error. For more information on various ways to resolve this see Section 5.1, "XML Schema Validation and Searching" in the C++/Tree Mapping Getting Started Guide.

How can I validate the input document against a schema?

Digester/FAQ - Commons Wiki
Unfortunately, validation of xml documents against schemas is not currently standardised, ie the procedure for configuring this is parser-specific. Some digester maintainers feel that Digester should provide the ability to turn on document validation, and therefore the following methods have been defined on the Digester class: Digester.setValidating Digester.setSchema Digester.setSchemaLanguage If you get validation working using these, then please document the procedure here.

Can you tell me about or appraise my historic document?

National Archives Frequently Asked Questions
The National Archives does not appraise or look at privately owned documents or artifacts. To find an appraiser in your area, you may wish to contact the ABAA (Antiquarian Booksellers Association of America).
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact