~ubuntu-branches/ubuntu/karmic/libxerces2-java/karmic

« back to all changes in this revision

Viewing changes to docs/faq-common.xml

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-12-04 17:37:55 UTC
  • mfrom: (2.1.2 etch)
  • Revision ID: james.westby@ubuntu.com-20061204173755-hb6ybrrrk097zhx7
Tags: 2.8.1-1ubuntu1
* Merge with Debian unstable; remaining changes:
  - Build -gcj package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version='1.0' encoding='UTF-8'?>
 
2
<!--
 
3
 * Copyright 1999-2004,2006 The Apache Software Foundation.
 
4
 *
 
5
 * Licensed under the Apache License, Version 2.0 (the "License");
 
6
 * you may not use this file except in compliance with the License.
 
7
 * You may obtain a copy of the License at
 
8
 *
 
9
 *     http://www.apache.org/licenses/LICENSE-2.0
 
10
 *
 
11
 * Unless required by applicable law or agreed to in writing, software
 
12
 * distributed under the License is distributed on an "AS IS" BASIS,
 
13
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
14
 * See the License for the specific language governing permissions and
 
15
 * limitations under the License.
 
16
-->
2
17
<!DOCTYPE faqs SYSTEM 'dtd/faqs.dtd'>
3
18
<faqs title='Common Problems FAQs'>
4
19
 <faq title='Parsing HTML Generated an Error.'>
32
47
    HTML must match the XHTML standard for well-formedness before it 
33
48
    can be parsed by &ParserName; or any other XML parser. You can 
34
49
    find the 
35
 
    <jump href="http://www.w3c.org/TR/1999/PR-xhtml1-19991210">XHTML 
 
50
    <jump href="http://www.w3.org/TR/2002/REC-xhtml1-20020801/">XHTML 
36
51
    standard</jump> on the 
37
 
    <jump href="http://www.w3c.org">W3C web site</jump>.
 
52
    <jump href="http://www.w3.org/">W3C web site</jump>.
38
53
   </p>
39
54
  </a>
40
55
 </faq>
45
60
    There are many Unicode characters that are not allowed in an 
46
61
    XML document, according to the XML spec. Typical disallowed 
47
62
    characters are control characters, even if you escape them 
48
 
    using the Character Reference form: &amp;#xxxx; . See the XML
49
 
    spec, sections 
50
 
    <jump href="http://www.w3.org/TR/REC-xml#charsets">2.2</jump> 
 
63
    using the Character Reference form: &amp;#xxxx; . See the XML 1.0
 
64
    specification, sections 
 
65
    <jump href="http://www.w3.org/TR/2006/REC-xml-20060816/#charsets">2.2</jump> 
51
66
    and 
52
 
    <jump href="http://www.w3.org/TR/REC-xml#sec-references">4.1</jump> 
 
67
    <jump href="http://www.w3.org/TR/2006/REC-xml-20060816/#sec-references">4.1</jump> 
53
68
    for details. If the parser is generating this error, it is very
54
69
    likely that there is a character in the file that you can not see.
55
70
    You can generally use a UNIX command like &quot;od -hc&quot; to