You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2006/11/06 19:55:37 UTC

[jira] Resolved: (XERCESJ-1208) Problem with validation of manually created non NS DOM Document

     [ http://issues.apache.org/jira/browse/XERCESJ-1208?page=all ]

Michael Glavassevich resolved XERCESJ-1208.
-------------------------------------------

    Resolution: Duplicate

In my opinion attempting to perform schema validation on a non-namespace-aware DOM is always a user error. Schema validation requires namespaces support and is only defined for XML documents which have an infoset.  This implies both well-formedness and namespace conformance.  The second is not guaranteed by a non-namespace-aware DOM.  The most Xerces should be doing here is reporting a more helpful error message.  See XERCESJ-1163 for more discussion on this issue.

> Problem with validation of manually created non NS DOM Document
> ---------------------------------------------------------------
>
>                 Key: XERCESJ-1208
>                 URL: http://issues.apache.org/jira/browse/XERCESJ-1208
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: JAXP (javax.xml.validation)
>    Affects Versions: 2.8.1
>            Reporter: Matej Kraus
>         Attachments: DOMValidatorHelper.java.patch, Test.java
>
>
> cvc-complex-type.2.4.a: Invalid content was found starting with element 'string'. One of '{string}' is expected.
> I will attach example and patch in a moment ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org