  | |  | Xerces | ++I 'm having problems parsing an xmlïż½config doc of an
open source scheduling tool (Quartz).? The document
(below)is well formed and valid. I 'm able to
successfully validate it using and xml editor (SHi
I have a question about element default values defined in the schema. How
can we get them when parsing the file ?
I have the foolowing part of a schema
<xs complexType name "TaxData_Type "Hi
If I validate this
<test Root xmlns test "http //www.example.com " >
<test Wrong/ >
</test Root >
against this schema
<schema xmlns "http //www.w3.org/2001/XMLSchema "
targe++
There is a sample that comes with Xerces. Try
java -cp ... xni.XMLGrammarBuilder -f -a your.xsd
If you get an error here then maybe your code isn 't using SchemaLoader
correctly. You caHi
why this example is wrong and i get Xerces 2.6.2 error-messages ?
<xs complexType name "basis_test_typ " >
<xs sequence >
<xs element name "foo "/ >
<xs any namespace "##any " minOcHi
the Xerces 2.6.2 (latest CVS version) indeed recognizes all schema-mistakes. It works only if I has both schema-file and XML-instance.
Are there a way to check only the schema? In some situati
This is a rewrite of the patch submitted earlier which had some issues.
It fixes the problem with the DOMSerializerImpl not handling local URI 's
such as file ///D /My%20Documents/file.xml
This patch fixes the problem with the DOMSerializerImpl not handling local
URI 's such as file ///D /My%20Documents/file.xml
properly due to %20 not being recognised as an escape and decoded++These inner classes have no dependencies on their owning classes and thus
should be static to remove an unnecessary reference to parent.
Equal classes must have equal hashCodes.
This patch enforces this invariant.
When implementing the .equals method the parameter should be defined as Object
otherwise calls like this
XInt i new XInt( 1 )
if (i.equals( myMap.get( "foo ")))
may call the wrong method
This patch now makes the URI representing the user.dir system property
location to be cached instead of the URI being created over and over again.
It improves performance in the scenario wheThe attached patch replaces concatenation building of strings in loops with the
use of an explicit StringBuffer.
The following patch improves the format of Xerces-J schema error messages
to increase readability.
Regards
Jonathan Au
XML Parser Development
IBM Toronto Lab
8200 Warden Ave. Markha
I will be out of the office starting 07/05/2004 and will not return until
07/19/2004.
I am presently on vacation. I will reply to your message on my return.
Please contact Steve Hikida In org.apache.html.dom.HTMLDocumentImpl.java
It looks like the Runtime exception is supposed to be thrown but isn 't.
private static void populateElementType( String tagName String clasI ran across this in org.apache.xerces.dom.DeferredDocumentImpl
Shouldn 't this be
if (getChunkValue(fNodeName achunk aindex).equals( name)) {
?
public String getDO NOT REPLY TO THIS EMAIL BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http //issues.apache.org/bugzilla/show_bug.cgi?id 10997 >.
ANY REPLY MADE TO THIS MESSA++Hi
I 've just put a comment in on a bug because I think a recent commit may
have caused it to break the dom3 tests but I noticed at the same time
that the ant file doesn 't report a failure evWell it 's been way too long since the last update and while
there aren 't many changes I figured it was important to let
people know that I 'm still working on this stuff! )
Anyway the short l++ |
|
 |