Andrew,

I just ran into this same problem. I believe the fault is in
Xerces. I just submitted a patch on the Xerces dev mailing
list. This patch fixes the problem, however, until a Xerces
developer checks out the patch and approves it, I can't say
that it is the proper fix. If you want to try it, let me know
and I can either send you the patched source code or the
updated xerces.jar. You'll need to be able to build Xerces
if you only want the patched source. My updated xerces.jar
is the official 1.3.1 release with just this patch applied,
no other CVS changes since 1.3.1 have been included.

Let me know if you want the source, the updated jar, both,
or nothing.

Regards,

Keith Jensen

ActiveHealth Management         
www.activehealthmanagement.com

Phone: 978-784-1153
Fax: 978-784-1158



> -----Original Message-----
> From: Andrew Newton [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 13, 2001 2:41 PM
> To: [EMAIL PROTECTED]
> Subject: trouble with <any namespace="##any"/>
> 
> 
> I have two sample schemas; the first with an element that accepts
> any element from any namespace as its child.  When I try to
> place an element from the second schema in it, I get the 
> following error with Xerces-J 1.3.1:
> 
> $ java dom.DOMCount -v any.xml
> [Error] any.xml:17:21: The content of element type 
> "any1:acceptAny" must match "##any:uri=http://any1.com*";.
> any.xml: 450 ms (5 elems, 7 attrs, 26 spaces, 53 chars)
> $
> 
> When using Xerces-J 1.3.0, it works fine:
> 
> $ java dom.DOMCount -v any.xml
> any.xml: 398 ms (5 elems, 7 attrs, 26 spaces, 53 chars)
> $
> 
> 
> I've included the sample files.  Am I doing or assuming 
> something wrong?
> 
> -andy
> 
> -- 
> Andrew Newton
> [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to