[ 
https://issues.apache.org/jira/browse/XERCESC-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17073333#comment-17073333
 ] 

Herm Fischer commented on XERCESC-2193:
---------------------------------------

Thank you for responding!  And for suggesting a proper test case.

This is in an XBRL schema's appinfo, which is snipped in xsd processing from 
the schema annotation into a string buffer be parsed/validated as xml isolated 
from the xsd container.  When first isolating to a tiny test case in an 
ordinary xml file the xmlns on the consuming element works fine.  So I need to 
do some more tracing to create the misbehaving test case, may be a few days 
before I can get to it.

> Validation error for prefix declaration on element whose value uses a prefix
> ----------------------------------------------------------------------------
>
>                 Key: XERCESC-2193
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2193
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (XML Schema)
>    Affects Versions: 3.2.2
>         Environment: Linux
>            Reporter: Herm Fischer
>            Priority: Major
>
> Xerces schema validation reports the prefix is undefined when QName content 
> of an element is using a prefix defined on the element (works fine with 
> Xerces-J, etc).  
> <link:usedOn xmlns:this="http://example.com/this";>this:someArc</link:usedOn>
> validation message: undefined prefix in QName value 'this:someArc' 
> Is there a parameter, usage pattern, or code patch which will make this 
> validate cleanly?  (isPrefixUnknown seems to look in element stack instead of 
> looking first at current element?)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to